Name | CVE-2014-9112 |
Description | Heap-based buffer overflow in the process_copy_in function in GNU Cpio 2.11 allows remote attackers to cause a denial of service via a large block value in a cpio archive. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-111-1, DSA-3111-1 |
Debian Bugs | 772793 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cpio (PTS) | bullseye | 2.13+dfsg-7.1~deb11u1 | fixed |
| bookworm | 2.13+dfsg-7.1 | fixed |
| sid, trixie | 2.15+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
http://lcamtuf.coredump.cx/afl/vulns/lesspipe-cpio-bad-write.cpio
https://savannah.gnu.org/bugs/?43709
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=746f3ff6 (fix buffer overflow)
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=54d1c42a (fix range checking of length of link name)
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=58df4f1b (fixup of former commit)
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=fd262d11 (fix null deref)
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=f6a8a2cb (fix test suite in former commit)