CVE-2015-0860
Description
Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1.17.26 allows remote attackers to execute arbitrary code via the archive magic version number in an "old-style" Debian binary package, which triggers a stack-based buffer overflow.
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.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 1.18.4 |
| debian | bullseye | fixed | 1.18.4 |
| debian | forky | fixed | 1.18.4 |
| debian | sid | fixed | 1.18.4 |
| debian | trixie | fixed | 1.18.4 |
| ubuntu | 12.04 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 15.04 | affected | |
| ubuntu | 15.10 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| debian | dpkg | 1.16.0 | |
| debian | dpkg | 1.16.0.1 | |
| debian | dpkg | 1.16.0.2 | |
| debian | dpkg | 1.16.0.3 | |
| debian | dpkg | 1.16.1 | |
| debian | dpkg | 1.16.1.1 | |
| debian | dpkg | 1.16.1.2 | |
| debian | dpkg | 1.16.2 | |
| debian | dpkg | 1.16.3 | |
| debian | dpkg | 1.16.4 | |
| debian | dpkg | 1.16.4.1 | |
| debian | dpkg | 1.16.4.2 | |
| debian | dpkg | 1.16.4.3 | |
| debian | dpkg | 1.16.5 | |
| debian | dpkg | 1.16.6 | |
| debian | dpkg | 1.16.7 | |
| debian | dpkg | 1.16.8 | |
| debian | dpkg | 1.16.9 | |
| debian | dpkg | 1.16.10 | |
| debian | dpkg | 1.16.11 | |
| debian | dpkg | 1.16.12 | |
| debian | dpkg | 1.16.15 | |
| debian | dpkg | 1.17.0 | |
| debian | dpkg | 1.17.1 | |
| debian | dpkg | 1.17.2 | |
| debian | dpkg | 1.17.3 | |
| debian | dpkg | 1.17.4 | |
| debian | dpkg | 1.17.5 | |
| debian | dpkg | 1.17.6 | |
| debian | dpkg | 1.17.7 | |
| debian | dpkg | 1.17.8 | |
| debian | dpkg | 1.17.9 | |
| debian | dpkg | 1.17.10 | |
| debian | dpkg | 1.17.11 | |
| debian | dpkg | 1.17.12 | |
| debian | dpkg | 1.17.13 | |
| debian | dpkg | 1.17.14 | |
| debian | dpkg | 1.17.15 | |
| debian | dpkg | 1.17.16 | |
| debian | dpkg | 1.17.17 | |
| debian | dpkg | 1.17.18 | |
| debian | dpkg | 1.17.19 | |
| debian | dpkg | 1.17.20 | |
| debian | dpkg | 1.17.21 | |
| debian | dpkg | 1.17.22 | |
| debian | dpkg | 1.17.23 | |
| debian | dpkg | 1.17.24 | |
| debian | dpkg | 1.17.25 | |
References
- https://www.suse.com/security/cve/CVE-2015-0860.html
- http://www.debian.org/security/2015/dsa-3407
- http://www.ubuntu.com/usn/USN-2820-1
- https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/extract.c?id=e65aa3db04eb908c9507d5d356a95cedb890814d
- https://blog.fuzzing-project.org/30-Stack-overflows-and-out-of-bounds-read-in-dpkg-Debian.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798324
- https://security.gentoo.org/glsa/201612-07
- https://security-tracker.debian.org/tracker/CVE-2015-0860
CWEs
CWE-189
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.