Directory Traversal Affecting python-setuptools-wheel package, versions <0:49.1.3-1.amzn2.0.6


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.5% (73rd 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-PYTHONSETUPTOOLSWHEEL-10346585
  • published13 Jun 2025
  • disclosed17 May 2025

Introduced: 17 May 2025

CVE-2025-47273  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python-setuptools-wheel to version 0:49.1.3-1.amzn2.0.6 or higher.
This issue was patched in ALAS2-2025-2876.

NVD Description

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

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in PackageIndex is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

CVSS Base Scores

version 3.1