Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-39950 EUVD-2023-43648

Insufficient input validation in efibootguard

Published Aug 14, 2023 · Updated Oct 1, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
siemens efibootguard < 0.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 efibootguard 0.15-1 —
Debian 13 efibootguard 0.15-1 —
Debian 12 efibootguard 0.13-2+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 efibootguard No fix yet —
Ubuntu 26.04 LTS efibootguard No fix yet —
Ubuntu 25.10 efibootguard No fix yet —
Ubuntu 24.04 LTS efibootguard No fix yet —

References