Directory Traversal Affecting python3-tkinter package, versions <0:3.7.16-1.amzn2.0.14


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-PYTHON3TKINTER-9599536
  • 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 python3-tkinter to version 0:3.7.16-1.amzn2.0.14 or higher.
This issue was patched in ALAS2-2025-2815.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-tkinter package and not the python3-tkinter 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