CVE-2019-14866

cpio: improper input validation when writing tar header fields leads to unexpected tar generation

Published Jan 7, 2020 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1981-1 cpio security update
Debian DLA Debian DLA DLA-3445-1 cpio security update
EUVD EUVD EUVD-2019-5982 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.
Ubuntu USN Ubuntu USN USN-4176-1 GNU cpio vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Feb 13, 2025, 4:27 PM
Reserved
Aug 10, 2019, 12:00 AM
Status
Modified
Published
Jan 7, 2020, 5:15 PM
Modified
Jun 17, 2026, 2:19 AM
Severity
Moderate
Public date
Aug 30, 2019, 12:00 AM