CVE-2023-30630

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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:nongnu:dmidecode:*:*:*:*:*:*:*:*

History

17 Jun 2026, 05:55

Type Values Removed Values Added
Summary
  • (es) Dmidecode antes de la versión 3.5 permite que el comando -dump-bin sobrescriba un archivo local. Esto tiene relevancia en seguridad porque, por ejemplo, la ejecución de Dmidecode mediante `sudo` resulta plausible. NOTA: Terceros han indicado que la corrección implementada en la versión 3.5 no aborda adecuadamente la vulnerabilidad. El argumento es que el parche propuesto previene que dmidecode escriba en un archivo existente. Sin embargo, hay múltiples vectores de ataque que no requieren sobreescritura de un archivo existente para lograr una escalada de privilegios similar (por ejemplo, crear un nuevo archivo en /etc/cron.hourly).

04 Mar 2025, 22:15

Type Values Removed Values Added
Summary (en) 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. (en) 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).

07 Feb 2025, 17:15

Type Values Removed Values Added
CWE CWE-23

21 Nov 2024, 08:00

Type Values Removed Values Added
References () https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2 - Not Applicable () https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2 - Not Applicable
References () https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206 - Not Applicable () https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206 - Not Applicable
References () https://github.com/adamreiser/dmiwrite - Exploit, Third Party Advisory () https://github.com/adamreiser/dmiwrite - Exploit, Third Party Advisory
References () https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html - Mailing List, Patch, Release Notes, Vendor Advisory () https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html - Mailing List, Patch, Release Notes, Vendor Advisory

28 Sep 2023, 17:54

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.8
v2 : unknown
v3 : 7.1

21 Apr 2023, 04:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:a:nongnu:dmidecode:*:*:*:*:*:*:*:*
First Time Nongnu
Nongnu dmidecode
CWE NVD-CWE-noinfo
References (MISC) https://github.com/adamreiser/dmiwrite - (MISC) https://github.com/adamreiser/dmiwrite - Exploit, Third Party Advisory
References (MISC) https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206 - (MISC) https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206 - Not Applicable
References (MISC) https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2 - (MISC) https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2 - Not Applicable
References (MISC) https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html - (MISC) https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html - Mailing List, Patch, Release Notes, Vendor Advisory

13 Apr 2023, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-04-13 16:15

Updated : 2026-06-17 05:55


NVD link : CVE-2023-30630

Mitre link : CVE-2023-30630

CVE.ORG link : CVE-2023-30630


JSON object : View

Products Affected

nongnu

  • dmidecode
CWE
NVD-CWE-noinfo CWE-23

Relative Path Traversal