Fix Python instrumentation vulnerabilities (urllib3 + requests)#175
Open
aviadhahami wants to merge 2 commits intomainfrom
Open
Fix Python instrumentation vulnerabilities (urllib3 + requests)#175aviadhahami wants to merge 2 commits intomainfrom
aviadhahami wants to merge 2 commits intomainfrom
Conversation
…lnerabilities - urllib3: 2.2.3 -> 2.6.3 (fixes GHSA-gm62-xv2j-4w53, GHSA-2xpw-w6gg-jr37, GHSA-38jv-5279-wg99, GHSA-pq67-6m6q-mj2v, GHSA-48p4-8xcf-vxj5) - requests: 2.32.3 -> 2.33.0 (fixes GHSA-9hjg-9r4m-mvj7, GHSA-gc5v-m9x4-r6x2) Regenerated requirements.txt via pip-compile with Python 3.10. Co-authored-by: Aviad Hahami <aviadhahami@users.noreply.github.com>
requests 2.33.0 requires Python >= 3.10, but this project supports Python 3.9+. Using 2.32.5 which is the latest Python 3.9-compatible version and still fixes GHSA-9hjg-9r4m-mvj7 (fixed in 2.32.4). Co-authored-by: Aviad Hahami <aviadhahami@users.noreply.github.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
Bumps
urllib3andrequeststo fix known CVEs affecting odiglet and agents images.Changes
urllib3requestsNote on requests 2.33.0
GHSA-gc5v-m9x4-r6x2 requires
requests >= 2.33.0, but that version dropped Python 3.9 support (Requires-Python: >=3.10). Since this project targets Python 3.9+, we use2.32.5— the latest 3.9-compatible release — which still fixes the .netrc credential leak (GHSA-9hjg-9r4m-mvj7, fixed in 2.32.4).Files modified
setup.py— updated version pins forurllib3andrequestsrequirements.txt— regenerated viapip-compile setup.py(Python 3.10)Resolves RUN-627
Linear Issue: RUN-627