CVE-2016-1252
Description
The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
APT - Repository Signing Bypass via Memory Allocation Failure
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.4~beta2 |
| debian | bullseye | fixed | 1.4~beta2 |
| debian | forky | fixed | 1.4~beta2 |
| debian | sid | fixed | 1.4~beta2 |
| debian | trixie | fixed | 1.4~beta2 |
| debian | 8.0 | not-affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 16.10 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| debian | advanced_package_tool | {"endExcluding":"1.0.9.8.4"} | 1.0.9.8.4 |
| debian | advanced_package_tool | {"endExcluding":"1.0.9.8.4"} | 1.0.9.8.4 |
References
- https://security-tracker.debian.org/tracker/CVE-2016-1252
- http://packetstormsecurity.com/files/140145/apt-Repository-Signing-Bypass.html
- http://www.ubuntu.com/usn/USN-3156-1
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1020
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1647467
- https://www.debian.org/security/2016/dsa-3733
- https://www.exploit-db.com/exploits/40916/
CWEs
CWE-295
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.