{"id":"CVE-2012-0954","aliases":["DEBIAN-CVE-2012-0954","EUVD-2012-0977","GHSA-86m4-88r3-mw4c"],"status":"published","title":"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...","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.","severity":{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02186,"percentile":0.82529,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2012-06-19T20:00:00Z","modified":"2026-10-23T17:47:41Z","fixes":[{"ecosystem":"Debian:12","package":"apt","fixed_in":["0.7.25"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apt","fixed_in":["0.7.25"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apt","fixed_in":["0.7.25"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.25"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.25"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.25"}]}]}],"products":[{"vendor":"debian","product":"advanced_package_tool"}],"references":[{"url":"http://seclists.org/fulldisclosure/2012/Jun/271","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/54046","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://seclists.org/fulldisclosure/2012/Jun/267","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-1477-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1475-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://seclists.org/fulldisclosure/2012/Jun/289","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0954"},{"url":"https://github.com/advisories/GHSA-86m4-88r3-mw4c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0954","tags":["advisory"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2012-06-19T20:00:00Z","modified":"2024-09-16T20:13:26.664Z","updated_at":"2026-11-02T14:34:52.981189Z"}],"euvd":[{"id":"EUVD-2012-0977","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.","status":"published","published":"2012-06-19T20:00:00Z","modified":"2024-09-16T20:13:26Z","updated_at":"2026-11-03T00:55:15.889317Z"}],"ghsa":[{"id":"GHSA-86m4-88r3-mw4c","title":"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...","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.","status":"published","published":"2022-05-13T01:29:02Z","modified":"2023-02-01T05:07:51Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:50:37.729708Z"}],"nvd":[{"id":"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.","status":"published","published":"2012-06-19T20:55:05.38Z","modified":"2026-06-16T23:38:34.3Z","cvss":[{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"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.","status":"published","published":"2012-06-19T20:55:05Z","modified":"2026-04-10T03:42:13.490661Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-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.","status":"published","published":"2012-06-19T20:55:05.38Z","modified":"2026-10-23T17:47:41.610798963Z","updated_at":"2026-11-02T15:45:24.92418Z"}]}}
