CVE-2019-14866 Affecting cpio package, versions <0:2.11-28.amzn2
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN2-CPIO-1686020
- published 27 Sep 2021
- disclosed 7 Jan 2020
Introduced: 7 Jan 2020
CVE-2019-14866 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
cpio
to version 0:2.11-28.amzn2 or higher.
This issue was patched in ALAS2-2020-1505
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream cpio
package and not the cpio
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
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.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14866
- https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html
- https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html
- https://access.redhat.com/errata/RHSA-2020:3908
- https://access.redhat.com/errata/RHSA-2021:1582
- https://access.redhat.com/errata/RHSA-2022:0073
- https://access.redhat.com/security/cve/CVE-2019-14866
- https://bugzilla.redhat.com/show_bug.cgi?id=1765511
- https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html