Improper input validation in Fedora dnf5daemon-server
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Incomplete fix for CVE-2024-1929 The problem with CVE-2024-1929 was that the dnf5 D-Bus daemon accepted arbitrary configuration parameters from unprivileged users, which allowed a local root exploit by tricking the daemon into loading a user controlled "plugin". All of this happened before Polkit authentication was even started. The dnf5 library code does not check whether non-root users control the directory in question. On one hand, this poses a Denial-of-Service attack vector by making the daemonoperate on a blocking file (e.g. named FIFO special file) or a very large file that causes an out-of-memory situation (e.g. /dev/zero). On the other hand, this can be used to let the daemon process privileged files like /etc/shadow. The file in question is parsed as an INI file. Error diagnostics resulting from parsing privileged files could cause information leaks, if these diagnostics are accessible to unprivileged users. In the case of libdnf5, no such user accessible diagnostics should exist, though. Also, a local attacker can place a valid repository configuration file in this directory. This configuration file allows to specify a plethora of additional configuration options. This makes various additional code paths in libdnf5 accessible to the attacker.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2746
- 2026-10-03 Alias added: GHSA-rpc3-mw2p-39mj
References
More Fedora vulnerabilities
- TI-2018-01029 Command injection in Red Hat dhcp CVSS 3.0HIGH 7.5
- TI-2024-01796 Improper input validation in Fedora dnf5daemon-server CVSS 3.1HIGH 8.4
- TI-2023-05737 Glibc: heap-based buffer overflow in __vsyslog_internal() CVSS 3.1HIGH 8.4
- TI-2023-03845 Heap out of bound read in builtin.c CVSS 3.1HIGH 7.1
- TI-2023-04922 Draw while calling getdrawinfo() CVSS 3.1MEDIUM 5.3
- TI-2023-03123 Crash due to a null pointer dereference in the dn_nsp_send function CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-2746 · CVE Program
- CVE-2024-2746 · NVD
- FIRST EPSS
- GHSA-rpc3-mw2p-39mj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences