Directory Traversal Affecting python3-tkinter package, versions <0:3.9.20-1.amzn2023.0.2


Severity

Recommended
high

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-AMZN2023-PYTHON3TKINTER-9296608
  • published7 Mar 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:2023 python3-tkinter to version 0:3.9.20-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2024-790.

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