CVE-2021-32556 json
apport get_modified_conffiles() function command injection
published 2021-06-12 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19401
- cvss
- 3.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Canonical apport 2.14.1-0ubuntu3.29+esm7, 2.20.1-0ubuntu2.30+esm1, 2.20.9-0ubuntu7.24, 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50.7, 2.20.11-0ubuntu65.1
- apport Ubuntu 18.04 LTS 2.20.9-0ubuntu7.24
- apport Ubuntu 20.04 LTS 2.20.11-0ubuntu27.18
- apport Ubuntu Pro 14.04 LTS 2.14.1-0ubuntu3.29+esm7
- apport Ubuntu Pro 16.04 LTS 2.20.1-0ubuntu2.30+esm1
ubuntu advisories UBUNTU-CVE-2021-32556
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
Affected products
- Canonical apport
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
bugs.launchpad.net
/ubuntu/+source/apport/+bug/1917904
vendor-advisory
Sources
- CVE List CVE-2021-32556
- NVD CVE-2021-32556
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.