CVE-2023-30630

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-30630
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30630.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30630
Downstream
Related
Published
2023-04-13T16:15:07.930Z
Modified
2025-12-08T07:57:44.441319Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git

cgit.git.savannah.gnu.org/cgit/dmidecode.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/dmidecode.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
6ca381c1247c81f74e1ca4e7706f70bdda72e6f2
Fixed
d8cfbc808f387e87091c25e7d5b8c2bb348bb206

git.savannah.nongnu.org/git/dmidecode.git

Affected ranges

Type
GIT
Repo
https://git.savannah.nongnu.org/git/dmidecode.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

dmidecode-1-8
dmidecode-2-0
dmidecode-2-1
dmidecode-2-10
dmidecode-2-11
dmidecode-2-12
dmidecode-2-2
dmidecode-2-3
dmidecode-2-4
dmidecode-2-5
dmidecode-2-6
dmidecode-2-7
dmidecode-2-8
dmidecode-2-9
dmidecode-3-0
dmidecode-3-1
dmidecode-3-2
dmidecode-3-3
dmidecode-3-4