PT-2019-4757 · Gnu+8 · Cpio+8
Thomas Habets
·
Published
2019-08-30
·
Updated
2025-08-25
·
CVE-2019-14866
CVSS v3.1
7.3
High
| Vector | AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
cpio versions prior to 2.13
Description
The issue is related to the improper validation of input files when generating TAR archives. This can lead to the creation of archives containing files with permissions or in paths that the attacker did not have access to. If a high-privilege user extracts such archives without careful review, it may compromise the system. The vulnerability is also associated with errors in checking the TAR file header, which can allow an attacker to elevate their privileges.
Recommendations
For versions prior to 2.13, update to version 2.13 or later to resolve the issue. As a temporary workaround, consider carefully reviewing TAR archives created from paths that an attacker can write to, before extracting them, especially when done by a high-privilege user. Restrict access to the archive creation process to minimize the risk of exploitation.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Centos
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Cpio