Resource Exhaustion Affecting python3-pip package, versions <0:21.3.1-2.amzn2023.0.9


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.39% (69th 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-8381924
  • published15 Nov 2024
  • disclosed7 Jul 2024

Introduced: 7 Jul 2024

CVE-2024-3651  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-pip to version 0:21.3.1-2.amzn2023.0.9 or higher.
This issue was patched in ALAS2023-2024-764.

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.

A vulnerability was identified in the kjd/idna library, specifically within the idna.encode() function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the idna.encode() function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.

CVSS Base Scores

version 3.1