Improper input validation in GNU Cpio
CVE-2019-14866
In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Cpio
- Red Hat Cpio — versions All cpio versions before 2.13
- Red Hat Enterprise Linux — versions 7.0, 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fokypoky/places-list). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Patch, Third Party Advisory, Mitigation, Issue Tracking)
- lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html (Patch, Mailing List, Third Party Advisory)
- lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html (Exploit, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/06/msg00007.html