Dmidecode: Privilege Escalation — GLSA 202407-26

A vulnerability has been discovered in Dmidecode, which can lead to privilege escalation.

Affected packages

sys-apps/dmidecode on all architectures
Affected versions < 3.5
Unaffected versions >= 3.5

Background

Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

Description

Dmidecode -dump-bin can overwrite a local file. This has security relevance because, for example, execution of Dmidecode via sudo is plausible.

Impact

Please review the referenced CVE identifier for details.

Workaround

There is no known workaround at this time.

Resolution

All Dmidecode users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/dmidecode-3.5"
 

References

Release date
July 24, 2024

Latest revision
July 24, 2024: 1

Severity
normal

Exploitable
local

Bugzilla entries