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


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.08% (35th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-CPIO-2169795
  • 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 Centos:7 cpio to version 0:2.11-28.el7 or higher.

NVD Description

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