What’s Vulnerable › Vulnerabilities
CVE-2021-32556: apport get_modified_conffiles() function command injection
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-12 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- Canonical apport: from 2.14.1-0ubuntu3 before 2.14.1-0ubuntu3.29\+esm7; from 2.20.1 before 2.20.1-0ubuntu2.30\+esm1; from 2.20.9 before 2.20.9-0ubuntu7.24; from 2.20.11-0ubuntu27 before 2.20.11-0ubuntu27.18; from 2.20.11-0ubuntu50 before 2.20.11-0ubuntu50.7; from 2.20.11-0ubuntu65 before 2.20.11-0ubuntu65.1 — fixed in 2.14.1-0ubuntu3.29\+esm7, 2.20.1-0ubuntu2.30\+esm1, 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50.7, 2.20.11-0ubuntu65.1, 2.20.9-0ubuntu7.24
How to fix
Upgrade to a fixed version: Canonical apport 2.14.1-0ubuntu3.29\+esm7, 2.20.1-0ubuntu2.30\+esm1, 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50.7. Check the vendor advisory for mitigations.
References
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904
Get alerted when CVE-2021-32556 or the next vulnerability affects your stack