CVE-2012-3587
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.7% in the next 30 days (EPSS).
- Severity: 2.6 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.7% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Debian Advanced Package Tool 0.7.0
- Debian Advanced Package Tool 0.7.1
- Debian Advanced Package Tool 0.7.2
- Debian Advanced Package Tool 0.7.2-0.1
- Debian Advanced Package Tool 0.7.10
- Debian Advanced Package Tool 0.7.11
- Debian Advanced Package Tool 0.7.12
- Debian Advanced Package Tool 0.7.13
Attack profile CVSS 2.0 · 2.6
- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:H/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3587.md and follow it. Check whether this project is affected by CVE-2012-3587. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://seclists.org/fulldisclosure/2012/Jun/267
- 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
- http://seclists.org/fulldisclosure/2012/Jun/267
- 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