Link Following Affecting cpio package, versions <0:2.13-13.amzn2023.0.3


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.91% (86th 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-AMZN2023-CPIO-6394195
  • published6 Mar 2024
  • disclosed19 Feb 2015

Introduced: 19 Feb 2015

CVE-2015-1197  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 cpio to version 0:2.13-13.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2024-557.

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:2023 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.

CVSS Base Scores

version 3.1