{"id":"CVE-2012-3587","aliases":["DEBIAN-CVE-2012-3587","EUVD-2012-3534","GHSA-2c4h-r267-mgv3"],"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 Trojan horse packages via a man-in-the-middle (MITM) attack.","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-08","score":0.01685,"percentile":0.77151,"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:44Z","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/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://nvd.nist.gov/vuln/detail/CVE-2012-3587"},{"url":"https://github.com/advisories/GHSA-2c4h-r267-mgv3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-3587","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-3587","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2012-06-19T20:00:00Z","modified":"2024-09-16T22:30:53.425Z","updated_at":"2026-11-02T14:34:50.615647Z"}],"euvd":[{"id":"EUVD-2012-3534","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2012-06-19T20:00:00Z","modified":"2024-09-16T22:30:53Z","updated_at":"2026-11-03T00:55:02.424132Z"}],"ghsa":[{"id":"GHSA-2c4h-r267-mgv3","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2022-05-13T01:29:03Z","modified":"2023-02-01T05:07:44Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:50:36.100181Z"}],"nvd":[{"id":"CVE-2012-3587","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2012-06-19T20:55:08.007Z","modified":"2026-06-16T23:43:31.48Z","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-3587","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2012-06-19T20:55:08Z","modified":"2026-04-10T03:42:24.823694Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-3587","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 Trojan horse packages via a man-in-the-middle (MITM) attack.","status":"published","published":"2012-06-19T20:55:08.007Z","modified":"2026-10-23T17:47:44.461316163Z","updated_at":"2026-11-02T15:45:24.92418Z"}]}}
