Buffer overflow in cpio - CVE-2016-2037

 

Buffer overflow in cpio - CVE-2016-2037

Published: February 22, 2016 / Updated: August 3, 2020


Vulnerability identifier: #VU33162
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-2037
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

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.


Affected software

cpio
Gentoo Linux
openEuler
cpio (Alpine package)
app-arch/cpio
cpio
cpio-debuginfo
cpio-debugsource
cpio-help

How to mitigate CVE-2016-2037

Install update from vendor's website.

cpio (Alpine package) - addressed in versions 2.12-r3, 2.13-r0
app-arch/cpio - update to 2.13-r1
cpio - update to 2.13-2
cpio-debuginfo - update to 2.13-2
cpio-debugsource - update to 2.13-2
cpio-help - update to 2.13-2

External References

Related Security Bulletins