Arbitrary Code Execution Affecting cpio package, versions [1.0,2.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd 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-UNMANAGED-CPIO-2319549
  • published14 Dec 2021
  • disclosed2 May 2005
  • creditUnknown

Introduced: 2 May 2005

CVE-2005-1111  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade cpio to version 2.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete.

CVSS Base Scores

version 3.1