Link Following Affecting cpio package, versions <0:2.12-11.amzn2.0.1


high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.04% (9th percentile)
Expand this section
NVD
3.3 low
Expand this section
Red Hat
4 medium

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 ID SNYK-AMZN2-CPIO-6371135
  • published 5 Mar 2024
  • disclosed 19 Feb 2015

How to fix?

Upgrade Amazon-Linux:2 cpio to version 0:2.12-11.amzn2.0.1 or higher.
This issue was patched in ALAS2-2024-2489.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cpio package and not the cpio package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a symlink attack on a file in an archive.