Skip to content

twine-6.2.0-py3-none-any.whl: 3 vulnerabilities (highest severity is: 8.6) #261

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - twine-6.2.0-py3-none-any.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (twine version) Remediation Possible** Reachability
CVE-2026-21441 High 8.6 Not Defined urllib3-2.5.0-py3-none-any.whl Transitive N/A*
CVE-2025-66471 High 8.6 Not Defined 0.0% urllib3-2.5.0-py3-none-any.whl Transitive N/A*
CVE-2025-66418 High 8.6 Not Defined 0.0% urllib3-2.5.0-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-21441

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decoding or decompression based on the HTTP "Content-Encoding" header (e.g., "gzip", "deflate", "br", or "zstd"). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting "preload_content=False" when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when "preload_content=False". If upgrading is not immediately possible, disable redirects by setting "redirect=False" for requests to untrusted source.

Publish Date: 2026-01-07

URL: CVE-2026-21441

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-38jv-5279-wg99

Release Date: 2026-01-07

Fix Resolution: urllib3 - 2.6.3,https://github.com/urllib3/urllib3.git - 2.6.3,urllib3 - 2.6.3

CVE-2025-66471

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.

Publish Date: 2025-12-05

URL: CVE-2025-66471

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-2xpw-w6gg-jr37

Release Date: 2025-12-05

Fix Resolution: urllib3 - 2.6.0,https://github.com/urllib3/urllib3.git - 2.6.0

CVE-2025-66418

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data. This vulnerability is fixed in 2.6.0.

Publish Date: 2025-12-05

URL: CVE-2025-66418

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-12-05

Fix Resolution: https://github.com/urllib3/urllib3.git - 2.6.0,urllib3 - 2.6.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions