Improper Privilege Management Affecting dmidecode-debuginfo package, versions <1:3.5-1.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.51% (42nd 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 IDSNYK-AMZN2023-DMIDECODEDEBUGINFO-5888252
  • published8 Sept 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 Amazon-Linux:2023 dmidecode-debuginfo to version 1:3.5-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-328.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dmidecode-debuginfo package and not the dmidecode-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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