CVE-2015-0860
published 2015-12-03CVE-2015-0860: 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…
PriorityP345high7.5CVSS 2.0
AVNACLAuNCPIPAP
EPSS
5.04%
91.2th percentile
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.
Affected
57 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | dpkg | < dpkg 1.18.4 (bookworm) | dpkg 1.18.4 (bookworm) |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
| debian | dpkg | — | — |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_debian7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-phx5-8jhp-4rwc: Off-by-one error in the extracthalf function in dpkg-deb/extract
ghsa_unreviewed·2022-05-17
CVE-2015-0860 [HIGH] GHSA-phx5-8jhp-4rwc: Off-by-one error in the extracthalf function in dpkg-deb/extract
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.
OSV
CVE-2015-0860: Off-by-one error in the extracthalf function in dpkg-deb/extract
osv·2015-12-03·CVSS 7.5
CVE-2015-0860 [HIGH] CVE-2015-0860: Off-by-one error in the extracthalf function in dpkg-deb/extract
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.
Ubuntu
dpkg vulnerability
vendor_ubuntu·2015-11-26
CVE-2015-0860 dpkg vulnerability
Title: dpkg vulnerability
Summary: dpkg-deb could be made to crash or run programs as your login if it
opened a specially crafted file.
Hanno Boeck discovered that the dpkg-deb tool incorrectly handled certain
old style Debian binary packages. If a user or an automated system were
tricked into unpacking a specially crafted binary package, a remote
attacker could possibly use this issue to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2015-0860: dpkg - Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-d...
vendor_debian·2015·CVSS 7.5
CVE-2015-0860 [HIGH] CVE-2015-0860: dpkg - Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-d...
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.
Scope: local
bookworm: resolved (fixed in 1.18.4)
bullseye: resolved (fixed in 1.18.4)
forky: resolved (fixed in 1.18.4)
sid: resolved (fixed in 1.18.4)
trixie: resolved (fixed in 1.18.4)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-0860 dpkg: stack overflows and out of bounds read [fedora-all]
bugzilla·2015-11-27·CVSS 7.5
CVE-2015-0860 [HIGH] CVE-2015-0860 dpkg: stack overflows and out of bounds read [fedora-all]
CVE-2015-0860 dpkg: stack overflows and out of bounds read [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora
Bugzilla
CVE-2015-0860 dpkg: stack overflows and out of bounds read [epel-all]
bugzilla·2015-11-27·CVSS 7.5
CVE-2015-0860 [HIGH] CVE-2015-0860 dpkg: stack overflows and out of bounds read [epel-all]
CVE-2015-0860 dpkg: stack overflows and out of bounds read [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fed
Bugzilla
CVE-2015-0860 dpkg: stack overflows and out of bounds read
bugzilla·2015-11-27·CVSS 7.5
CVE-2015-0860 [HIGH] CVE-2015-0860 dpkg: stack overflows and out of bounds read
CVE-2015-0860 dpkg: stack overflows and out of bounds read
Debian fixed the following flaw in dpkg:
Hanno Boeck discovered a stack-based buffer overflow in the dpkg-deb component of dpkg, the Debian package management system. This flaw could potentially lead to arbitrary code execution if a user or an automated system were tricked into processing a specially crafted Debian binary package (.deb) in the old style Debian binary package format.
Additional information:
https://lists.debian.org/debian-security-announce/2015/msg00312.html
http://seclists.org/oss-sec/2015/q4/389
Discussion:
Created dpkg tracking bugs for this issue:
Affects: fedora-all [bug 1286012]
Affects: epel-all [bug 1286013]
---
where is the patch ? what version are affected ? or in what version this is fixed ?
Tha
http://www.debian.org/security/2015/dsa-3407http://www.ubuntu.com/usn/USN-2820-1https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/extract.c?id=e65aa3db04eb908c9507d5d356a95cedb890814dhttps://blog.fuzzing-project.org/30-Stack-overflows-and-out-of-bounds-read-in-dpkg-Debian.htmlhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798324https://security.gentoo.org/glsa/201612-07http://www.debian.org/security/2015/dsa-3407http://www.ubuntu.com/usn/USN-2820-1https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/extract.c?id=e65aa3db04eb908c9507d5d356a95cedb890814dhttps://blog.fuzzing-project.org/30-Stack-overflows-and-out-of-bounds-read-in-dpkg-Debian.htmlhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798324https://security.gentoo.org/glsa/201612-07
2015-12-03
Published