Directory Traversal Affecting python3-pip package, versions <0:21.3.1-2.amzn2023.0.20


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Social Trends
EPSS
0.32% (24th 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-PYTHON3PIP-17415769
  • published23 Jun 2026
  • disclosed1 Jun 2026

Introduced: 1 Jun 2026

CVE-2026-8643  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-pip to version 0:21.3.1-2.amzn2023.0.20 or higher.
This issue was patched in ALAS2023-2026-1837.

NVD Description

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

pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.

References

CVSS Base Scores

version 3.1