CVEfocus › CVE database › CVE-2023-39950

CVE-2023-39950Insufficient input validation in efibootguard

CVSS 6.1 MediumEPSS 0.6% (higher than 40% of CVEs)Published 2023-08-14Updated 2024-10-01Assigner: GitHub_M

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.

CWE-20

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10efibootguardFix pendingUBUNTU-CVE-2023-39950
Ubuntu 26.04efibootguardUnder investigationUBUNTU-CVE-2023-39950
Ubuntu 25.10efibootguardWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-39950
Ubuntu 24.04efibootguardUnder investigationUBUNTU-CVE-2023-39950
Debian 14efibootguardFixed0.15-1DEBIAN-CVE-2023-39950
Debian 13efibootguardFixed0.15-1DEBIAN-CVE-2023-39950
Debian 12efibootguardFixed0.13-2+deb12u1DEBIAN-CVE-2023-39950

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.