Skip to main content

Rpm CVE-2024-1929

HIGH
Improper Input Validation (CWE-20)
2024-05-08 patrick@puiterwijk.org
8.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.4 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
CVE Published
May 08, 2024 - 02:15 nvd
HIGH 8.4

DescriptionNVD

Local Root Exploit via Configuration Dictionary in dnf5daemon-server before 5.1.17 allows a malicious user to impact Confidentiality and Integrity via Configuration Dictionary.

There are issues with the D-Bus interface long before Polkit is invoked. The org.rpm.dnf.v0.SessionManager.open_session method takes a key/value map of configuration entries. A sub-entry in this map, placed under the "config" key, is another key/value map. The configuration values found in it will be forwarded as configuration overrides to the libdnf5::Base configuration.

Practically all libdnf5 configuration aspects can be influenced here. Already when opening the session via D-Bus, the libdnf5 will be initialized using these override configuration values. There is no sanity checking of the content of this "config" map, which is untrusted data. It is possible to make the library loading a plug-in shared library under control of an unprivileged user, hence achieving root access.

AnalysisAI

Local Root Exploit via Configuration Dictionary in dnf5daemon-server before 5.1.17 allows a malicious user to impact Confidentiality and Integrity via Configuration Dictionary. Rated high severity (CVSS 8.4), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Technical ContextAI

This vulnerability is classified under CWE-20. Local Root Exploit via Configuration Dictionary in dnf5daemon-server before 5.1.17 allows a malicious user to impact Confidentiality and Integrity via Configuration Dictionary. There are issues with the D-Bus interface long before Polkit is invoked. The org.rpm.dnf.v0.SessionManager.open_session method takes a key/value map of configuration entries. A sub-entry in this map, placed under the "config" key, is another key/value map. The configuration values found in it will be forwarded as configuration overrides to the libdnf5::Base configuration. Practically all libdnf5 configuration aspects can be influenced here. Already when opening the session via D-Bus, the libdnf5 will be initialized using these override configuration values. There is no sanity checking of the content of this "config" map, which is untrusted data. It is possible to make the library loading a plug-in shared library under control of an unprivileged user, hence achieving root access. Affected products include: Rpm Dnf5. Version information: before 5.1.17.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

More in Rpm

View all
CVE-2019-3817 HIGH POC
8.8 Mar 27

A use-after-free flaw has been discovered in libcomps before version 0.1.10 in the way ObjMRTrees are merged. Rated high

CVE-2014-8118 CRITICAL
10.0 Dec 16

Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in

CVE-2013-6435 HIGH
7.6 Dec 16

Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose

CVE-2012-0815 MEDIUM
6.8 Jun 04

The headerVerifyInfo function in lib/header.c in RPM before 4.9.1.3 allows remote attackers to cause a denial of service

CVE-2018-10897 HIGH
8.1 Aug 01

A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote

CVE-2017-7501 HIGH
7.8 Nov 22

It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. Rat

CVE-2012-0061 MEDIUM
6.8 Jun 04

The headerLoad function in lib/header.c in RPM before 4.9.1.3 does not properly validate region tags, which allows user-

CVE-2012-0060 MEDIUM
6.8 Jun 04

RPM before 4.9.1.3 does not properly validate region tags, which allows remote attackers to cause a denial of service (c

CVE-2021-3445 HIGH
7.5 May 19

A flaw was found in libdnf's signature verification functionality in versions before 0.60.1. Rated high severity (CVSS 7

CVE-2021-20271 HIGH
7.0 Mar 26

A flaw was found in RPM's signature check functionality when reading a package file. Rated high severity (CVSS 7.0), thi

CVE-2021-3421 MEDIUM
5.5 May 19

A flaw was found in the RPM package in the read functionality. Rated medium severity (CVSS 5.5), this vulnerability is n

CVE-2021-20266 MEDIUM
4.9 Apr 30

A flaw was found in RPM's hdrblobInit() in lib/header.c. Rated medium severity (CVSS 4.9), this vulnerability is remotel

Share

CVE-2024-1929 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy