CVEfocus › CVE database › CVE-2023-30630

CVE-2023-30630

CVSS 7.1 HighEPSS 0.4% (higher than 31% of CVEs)Published 2023-04-13Updated 2025-03-04Assigner: mitre

Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. NOTE: Some third parties have indicated the fix in 3.5 does not adequately address the vulnerability. The argument is that the proposed patch prevents dmidecode from writing to an existing file. However, there are multiple attack vectors that would not require overwriting an existing file that would provide the same level of unauthorized privilege escalation (e.g. creating a new file in /etc/cron.hourly).

CWE-23

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: 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

7Fixed
2Fix pending
3Under investigation
9Will not fix
3Not affected

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.10cpu-xFix pendingUBUNTU-CVE-2023-30630
Ubuntu 26.04cpu-xUnder investigationUBUNTU-CVE-2023-30630
Ubuntu 26.04dmidecodeNot affected
vulnerable_code_not_present
Ubuntu 25.10cpu-xWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Ubuntu 25.10dmidecodeNot affected
vulnerable_code_not_present
Ubuntu 24.04cpu-xUnder investigationUBUNTU-CVE-2023-30630
Ubuntu 24.04dmidecodeNot affected
vulnerable_code_not_present
Ubuntu 22.04cpu-xUnder investigationUBUNTU-CVE-2023-30630
Ubuntu 22.04dmidecodeFix pendingUBUNTU-CVE-2023-30630
Ubuntu 20.04cpu-xWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Ubuntu 20.04dmidecodeWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Ubuntu 18.04dmidecodeWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Ubuntu 16.04dmidecodeWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Ubuntu 14.04dmidecodeWill not fix
cpu-x embedds dmidecode source This CVE relies on an improbable non-default configuration of allowing an unprivileged user to run demidecode under sudo with a…
UBUNTU-CVE-2023-30630
Debian 14dmidecodeFixed3.5-1DEBIAN-CVE-2023-30630
Debian 13dmidecodeFixed3.5-1DEBIAN-CVE-2023-30630
Debian 12dmidecodeWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-30630
Red Hat Enterprise Linux 9dmidecodeFixed1:3.3-7.el9_2.1RHSA-2023:5061
Red Hat Enterprise Linux 8dmidecodeFixed1:3.3-4.el8_8.1RHSA-2023:5252
Red Hat Enterprise Linux 7dmidecodeWill not fix
Out of support scope
Red Hat Enterprise Linux 6dmidecodeWill not fix
Out of support scope
AlmaLinux 9dmidecodeFixed1:3.3-7.el9_2.1ALSA-2023:5061
AlmaLinux 8dmidecodeFixed1:3.3-4.el8_8.1ALSA-2023:5252
Rocky Linux 9dmidecodeFixed1:3.3-7.el9_2.1RLSA-2023:5061

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.