Link Following Affecting cpio package, versions <2.6-6


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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-ECHOLATEST-CPIO-18610743
  • published11 Aug 2026
  • disclosed2 May 2005

Introduced: 2 May 2005

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

How to fix?

Upgrade Echo:latest cpio to version 2.6-6 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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