Improper Privilege Management Affecting dmidecode package, versions <1:3.3-4.el8_8.1


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-DMIDECODE-5910665
  • published14 Apr 2023
  • disclosed13 Apr 2023

Introduced: 13 Apr 2023

CVE-2023-30630  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade RHEL:8 dmidecode to version 1:3.3-4.el8_8.1 or higher.
This issue was patched in RHSA-2023:5252.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dmidecode package and not the dmidecode package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1