Directory Traversal Affecting python-devel package, versions <0:2.7.18-1.amzn2.0.12


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
27.1% (98th 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-AMZN2-PYTHONDEVEL-9599546
  • published2 Apr 2025
  • disclosed28 Aug 2007

Introduced: 28 Aug 2007

CVE-2007-4559  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-devel to version 0:2.7.18-1.amzn2.0.12 or higher.
This issue was patched in ALAS2-2025-2816.

NVD Description

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

Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.

CVSS Base Scores

version 3.1