Improper Input Validation Affecting cpio package, versions [,2.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CPIO-2319546
  • published14 Dec 2021
  • disclosed7 Jan 2020
  • creditUnknown

Introduced: 7 Jan 2020

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

How to fix?

Upgrade cpio to version 2.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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