Vulnerabilities · 2019 · Gnu
CVE-2019-14866
Gnu Cpio vulnerability
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.
Affected products
Cpio, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Cpio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 · Exploit
- lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html · Patch
- lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html · Exploit
- lists.debian.org/debian-lts-announce/2023/06/msg00007.html
- nvd.nist.gov/vuln/detail/CVE-2019-14866
- cve.org/CVERecord?id=CVE-2019-14866
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.