CVE-2012-0954
Description
APT 0.7.x before 0.7.25 and 0.8.x before 0.8.16, when using the apt-key net-update to import keyrings, relies on GnuPG argument order and does not check GPG subkeys, which might allow remote attackers to install altered packages via a man-in-the-middle (MITM) attack. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3587.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2012-0954 NameCVE-2012-0954 DescriptionAPT 0.7.x before 0.7.25 and 0.8.x before 0.8.16, when using the apt-key net-update to import keyrings, relies on GnuPG argument order and does not check GPG subkeys, which might allow remote attackers to install altered packages via a man-in-the-middle (MITM) attack. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3587.โฆ
CVE-2012-0954
| Name | CVE-2012-0954 |
| Description | APT 0.7.x before 0.7.25 and 0.8.x before 0.8.16, when using the apt-key net-update to import keyrings, relies on GnuPG argument order and does not check GPG subkeys, which might allow remote attackers to install altered packages via a man-in-the-middle (MITM) attack. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3587. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| apt (PTS) | bullseye | 2.2.4 | fixed |
| bookworm | 2.6.1 | fixed | |
| trixie | 3.0.3 | fixed | |
| forky, sid | 3.3.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| apt | source | (unstable) | 0.7.25 | unimportant |
Notes
net-update is not enabled by default in Debian
Apply commands
net-update is not enabled by default in Debian
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.7.25 |
| sid | Fixed | 0.7.25 |
| forky | Fixed | 0.7.25 |
| bullseye | Fixed | 0.7.25 |
| bookworm | Fixed | 0.7.25 |
Application impact
References
- https://security-tracker.debian.org/tracker/CVE-2012-0954
- http://seclists.org/fulldisclosure/2012/Jun/267
- http://seclists.org/fulldisclosure/2012/Jun/271
- http://seclists.org/fulldisclosure/2012/Jun/289
- http://www.securityfocus.com/bid/54046
- http://www.ubuntu.com/usn/USN-1475-1
- http://www.ubuntu.com/usn/USN-1477-1
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.