CVE-2012-0954

low
Published 2012-06-19 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.6

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

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

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

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.
SourceCVE (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 PackageReleaseVersionStatus
apt (PTS)bullseye2.2.4fixed
bookworm2.6.1fixed
trixie3.0.3fixed
forky, sid3.3.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
aptsource(unstable)0.7.25unimportant

Notes

net-update is not enabled by default in Debian

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
net-update is not enabled by default in Debian

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed 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

VendorProductVersionsFixed
debian debianadvanced_package_tool0.7.0
debian debianadvanced_package_tool0.7.1
debian debianadvanced_package_tool0.7.2
debian debianadvanced_package_tool0.7.2-0.1
debian debianadvanced_package_tool0.7.10
debian debianadvanced_package_tool0.7.11
debian debianadvanced_package_tool0.7.12
debian debianadvanced_package_tool0.7.13
debian debianadvanced_package_tool0.7.14
debian debianadvanced_package_tool0.7.15
debian debianadvanced_package_tool0.7.16
debian debianadvanced_package_tool0.7.17
debian debianadvanced_package_tool0.7.18
debian debianadvanced_package_tool0.7.19
debian debianadvanced_package_tool0.7.20
debian debianadvanced_package_tool0.7.20.1
debian debianadvanced_package_tool0.7.20.2
debian debianadvanced_package_tool0.7.21
debian debianadvanced_package_tool0.7.22
debian debianadvanced_package_tool0.7.22.1
debian debianadvanced_package_tool0.7.22.2
debian debianadvanced_package_tool0.7.23
debian debianadvanced_package_tool0.7.23.1
debian debianadvanced_package_tool0.7.24
debian debianadvanced_package_tool0.8.0
debian debianadvanced_package_tool0.8.1
debian debianadvanced_package_tool0.8.10
debian debianadvanced_package_tool0.8.10.1
debian debianadvanced_package_tool0.8.10.2
debian debianadvanced_package_tool0.8.10.3
debian debianadvanced_package_tool0.8.11
debian debianadvanced_package_tool0.8.11.1
debian debianadvanced_package_tool0.8.11.2
debian debianadvanced_package_tool0.8.11.3
debian debianadvanced_package_tool0.8.11.4
debian debianadvanced_package_tool0.8.11.5
debian debianadvanced_package_tool0.8.12
debian debianadvanced_package_tool0.8.13
debian debianadvanced_package_tool0.8.13.1
debian debianadvanced_package_tool0.8.13.2
debian debianadvanced_package_tool0.8.14
debian debianadvanced_package_tool0.8.14.1
debian debianadvanced_package_tool0.8.15
debian debianadvanced_package_tool0.8.15.1
debian debianadvanced_package_tool0.8.15.6
debian debianadvanced_package_tool0.8.15.7
debian debianadvanced_package_tool0.8.15.8
debian debianadvanced_package_tool0.8.15.9
debian debianadvanced_package_tool0.8.15.10

References

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.