Skip to content

Security: Update urllib3 to v2.6.3 (CVE fixes)#18

Merged
oscarvalenzuelab merged 1 commit intomainfrom
security/urllib3-v2.6.3
Mar 16, 2026
Merged

Security: Update urllib3 to v2.6.3 (CVE fixes)#18
oscarvalenzuelab merged 1 commit intomainfrom
security/urllib3-v2.6.3

Conversation

@oscarvalenzuelab
Copy link
Collaborator

Summary

  • Update urllib3 from >=2.5.0 to >=2.6.3 to address 3 high-severity CVEs
  • Bump version to 1.2.4 for security release

Security Vulnerabilities Addressed

CVE Severity Description
CVE-2026-21441 HIGH Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
CVE-2025-66471 HIGH Streaming API improperly handles highly compressed data
CVE-2025-66418 HIGH Unbounded number of links in the decompression chain

Impact

This project uses the streaming API (stream=True + iter_content()) in src/purl2src/utils/http.py to download packages from external registries. The vulnerabilities could allow denial of service via decompression bombs from malicious sources.

Test Plan

  • All 314 unit tests pass
  • All 12 e2e tests pass (npm, pypi, rubygems, cargo, nuget, maven, golang, github, conda)
  • All 3 integration tests pass
  • CLI verified working with urllib3 2.6.3

Update urllib3 from >=2.5.0 to >=2.6.3 to address multiple vulnerabilities:
- CVE-2026-21441: Decompression-bomb bypass on redirects (streaming API)
- CVE-2025-66471: Streaming API mishandles highly compressed data
- CVE-2025-66418: Unbounded decompression chain links

Bump version to 1.2.4 for security release.
@cla-bot cla-bot bot added the cla-signed label Mar 15, 2026
@oscarvalenzuelab oscarvalenzuelab merged commit 08fc223 into main Mar 16, 2026
9 checks passed
@oscarvalenzuelab oscarvalenzuelab deleted the security/urllib3-v2.6.3 branch March 16, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant