Amazon Linux 2 Security Advisory: ALAS-2020-1505
Advisory Release Date: 2020-10-22 17:22 Pacific
Advisory Updated Date: 2020-10-22 22:39 Pacific
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. (CVE-2019-14866)
Affected Packages:
cpio
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update cpio to update your system.
aarch64:
cpio-2.11-28.amzn2.aarch64
cpio-debuginfo-2.11-28.amzn2.aarch64
i686:
cpio-2.11-28.amzn2.i686
cpio-debuginfo-2.11-28.amzn2.i686
src:
cpio-2.11-28.amzn2.src
x86_64:
cpio-2.11-28.amzn2.x86_64
cpio-debuginfo-2.11-28.amzn2.x86_64