Improper input validation in Siemens Efibootguard
CVE-2023-39950
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 37.5th percentile
- Published
- 2023-08-14
What to do
- Fixed in
0.15- Affected
- 1 affected product
efibootguard is a simple UEFI boot loader with support for safely switching between current and updated partition sets. Insufficient or missing validation and sanitization of input from untrustworthy bootloader environment files can cause crashes and probably also code injections into `bg_setenv`) or programs using `libebgenv`. This is triggered when the affected components try to modify a manipulated environment, in particular its user variables. Furthermore, `bg_printenv` may crash over invalid read accesses or report invalid results. Not affected by this issue is EFI Boot Guard's bootloader EFI binary. EFI Boot Guard release v0.15 contains required patches to sanitize and validate the bootloader environment prior to processing it in userspace. Its library and tools should be updated, so should programs statically linked against it. An update of the bootloader EFI executable is not required. The only way to prevent the issue with an unpatched EFI Boot Guard version is to avoid accesses to user variables, specifically modifications to them.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L.
- Attack Vector
- Physical
AV:P - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.004, 37.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Siemens Efibootguard — versions < 0.15
Weakness classification (CWE)
References
- https://github.com/siemens/efibootguard/security/advisories/GHSA-j6pp-7g99-24m7 (Third Party Advisory)
- https://github.com/siemens/efibootguard/blob/master/docs/API.md (Third Party Advisory)
- https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md (Third Party Advisory)
- https://github.com/siemens/efibootguard/blob/master/docs/TOOLS.md#setting-user-variables (Third Party Advisory)
- https://github.com/siemens/efibootguard/tags (Third Party Advisory)