Allocation of Resources Without Limits or Throttling Affecting python2-pip package, versions <0:20.2.2-1.amzn2.0.19


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.34% (26th 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-PYTHON2PIP-20847414
  • published13 Oct 2026
  • disclosed29 Sept 2026

Introduced: 29 Sep 2026

NewCVE-2026-97689  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python2-pip to version 0:20.2.2-1.amzn2.0.19 or higher.
This issue was patched in ALAS2-2026-3974.

NVD Description

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

urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded memory because the streaming chunk parser buffers the chunk-size field until newline or EOF without a length bound. The trigger is that a malicious server returns Transfer-Encoding: chunked followed by a very long run of bytes without a newline. The attack mechanism is that a malicious HTTP server sends a very long unterminated chunk-size line. The impact is that unbounded memory allocation can exhaust the client process. This issue is fixed in version 2.8.0.

CVSS Base Scores

version 3.1