Improper Input Validation Affecting cpio package, versions <0:2.11-28.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise 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-RHEL7-CPIO-1528443
  • published26 Jul 2021
  • disclosed30 Aug 2019

Introduced: 30 Aug 2019

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

How to fix?

Upgrade RHEL:7 cpio to version 0:2.11-28.el7 or higher.
This issue was patched in RHSA-2020:3908.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cpio package and not the cpio package as distributed by RHEL. See How to fix? for RHEL:7 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 Scores

version 3.1