Name | CVE-2016-2037 |
Description | The cpio_safer_name_suffix function in util.c in cpio 2.11 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted cpio file. |
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-415-1, DSA-3483-1 |
Debian Bugs | 812401 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cpio (PTS) | jessie, jessie (lts) | 2.11+dfsg-4.1+deb8u4 | fixed |
| stretch (lts), stretch | 2.11+dfsg-6+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 2.12+dfsg-9+deb10u1 | fixed |
| 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
https://www.openwall.com/lists/oss-security/2016/01/19/4
To reproduce and uncover the issue with unstable version compile with ASAN
Patch: https://lists.gnu.org/archive/html/bug-cpio/2016-01/msg00005.html
https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=d36ec5f4e93130efb24fb9678aafd88e8070095b