SG-43679 Fix urllib3, requests, and idna security vulnerabilities#105
Draft
stevelittlefish wants to merge 1 commit into
Draft
SG-43679 Fix urllib3, requests, and idna security vulnerabilities#105stevelittlefish wants to merge 1 commit into
stevelittlefish wants to merge 1 commit into
Conversation
Upgrades for Python 3.10, 3.11, and 3.13: - urllib3 2.6.3 -> 2.7.0 (CVE-2026-44432, sensitive headers CVE) - requests 2.32.5 -> 2.33.0 (insecure temp file reuse) - idna 3.7 -> 3.15 (CVE-2024-3651 bypass) Python 3.9 partial fix (urllib3 and requests dropped Python 3.9 support in the patched versions): - idna 3.7 -> 3.15 only Also fixes update_python_packages.py to exclude top-level .pyd/.so binary extension files (mypyc-compiled extensions from charset-normalizer 3.4.7) from the package count assertion. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes security vulnerabilities reported in SG-43679 across all supported Python versions.
Python 3.10, 3.11, 3.13 - all CVEs fixed:
urllib32.6.3 -> 2.7.0 - fixes CVE-2026-44432 (decompression-bomb bypass) and sensitive headers forwarded across originsrequests2.32.5 -> 2.33.0 - fixes insecure temp file reuse inextract_zipped_paths()idna3.7 -> 3.15 - fixes CVE-2024-3651 bypassPython 3.9 - partial fix only:
idna3.7 -> 3.15 onlyurllib3andrequestspatches require Python 3.10+ - the fix versions dropped Python 3.9 supportAlso fixes
update_python_packages.pyto handle top-level.pyd/.sobinary extension files installed bycharset-normalizer 3.4.7(mypyc-compiled extensions), which caused an assertion failure in the package count check.Addresses dependabot alerts: #68, #65-#67, #69-#73 (urllib3), #64, #57-#63 (requests), #83, #75-#82 (idna).