apport get_modified_conffiles() function command injection
Description
It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The get_modified_conffiles() function in Apport's apt-dpkg backend allowed injection of modified package names, leading to dpkg confusion and potential file reads.
Vulnerability
The get_modified_conffiles() function in backends/packaging-apt-dpkg.py of Apport (the automatic crash report system) allowed injecting modified package names that could confuse the dpkg(1) call [1]. An attacker could craft a package name containing special characters or path traversal sequences, leading to execution of arbitrary dpkg commands. This vulnerability affects Apport versions prior to the fix.
Exploitation
An attacker needs the ability to submit a crafted crash report that includes a malicious package name. Since Apport handles crash reports from users, a local user can trigger a crash and provide a controlled package name. The function get_modified_conffiles() then passes this name to dpkg without proper sanitization, causing dpkg to process unintended files [1].
Impact
Successful exploitation allows an attacker to read arbitrary files on the system due to dpkg running with root privileges. This results in information disclosure of sensitive files. No remote code execution is achieved, but the confidentiality impact is high.
Mitigation
The vulnerability was fixed in a subsequent release of Apport. Users are advised to update the apport package to the latest version provided by their distribution. For Ubuntu systems, the fix is included in Apport 2.20.11-0ubuntu8.5 and later [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: 2.20.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.