ALAS2-2020-1505

Affecting cpio package, versions <2.11-28.amzn2

Report new vulnerabilities
medium severity
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to ALAS2-2020-1505. Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2019-14866: 1765511: CVE-2019-14866 cpio: improper input validation when writing tar header fields leads to unexpect tar generation It was discovered cpio 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

Upgrade cpio to version or higher.

References

CVE
ALAS2-2020-1505
Snyk ID
SNYK-AMZN2-CPIO-1022329
Published
28 Oct, 2020