[High] Patch python-urllib3 for CVE-2025-66471#16158
Open
akhila-guruju wants to merge 4 commits intomicrosoft:fasttrack/2.0from
Open
[High] Patch python-urllib3 for CVE-2025-66471#16158akhila-guruju wants to merge 4 commits intomicrosoft:fasttrack/2.0from
akhila-guruju wants to merge 4 commits intomicrosoft:fasttrack/2.0from
Conversation
a4fa87f to
4e61897
Compare
Contributor
Contributor
|
re hitting full build |
Updated patch references for CVE-2025-66471.
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.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
Patch python-urllib3 for CVE-2025-66471
Patch Backported: Yes
In
noxfile.pysome syntax changes were made because python version in 2.0 is 3.9.x.
In
response.pynew class
class BytesQueueBufferhas been added inresponse.pyfile and related tests were also added intest_response.py.read()API was backported as per the upstream reference, new API call_raw_readwas backported as it was used in backportedread()API.read1()API is not present in this codebase. So, changes made for read1() API in upstream patch are not present in backport patch.In
test_response.pytestcases for
zstdare not backported/patched, because this encoding method is not used in v1.26.19 codebase and no testcases were present in test file.Upstream Patch: https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7.patch
Reference has been taken from Redhat patch: r10s/python-urllib3-1.26.19-3.el10/SOURCES/CVE-2025-66471.patch
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology