CVE-2019-14866 Affecting cpio package, versions <0:2.11-28.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (36th percentile)

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 IDSNYK-AMZN2-CPIO-1686020
  • published27 Sept 2021
  • disclosed7 Jan 2020

Introduced: 7 Jan 2020

CVE-2019-14866  (opens in a new tab)

How 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.

CVSS Base Scores

version 3.1