-
Notifications
You must be signed in to change notification settings - Fork 4
Update dependency fastapi to v0.129.0 #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| fastapi==0.128.8 | ||
| fastapi==0.129.0 | ||
| fastapi-utils==0.8.0 | ||
| requests==2.32.5 | ||
| requests-oauthlib ==2.0.0 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,7 +15,7 @@ packages = find: | |||||
| python_requires = >=3.6 | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update python_requires to enforce minimum Python 3.10. The 🔧 Proposed fix to update python_requires-python_requires = >=3.6
+python_requires = >=3.10📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| install_requires = | ||||||
| uvicorn[standard]==0.40.0 | ||||||
| fastapi==0.128.8 | ||||||
| fastapi==0.129.0 | ||||||
| fastapi-utils==0.8.0 | ||||||
| requests==2.32.5 | ||||||
| requests-oauthlib ==2.0.0 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: RedHatInsights/ccx-upgrades-data-eng
Length of output: 121
🏁 Script executed:
Repository: RedHatInsights/ccx-upgrades-data-eng
Length of output: 681
🏁 Script executed:
Repository: RedHatInsights/ccx-upgrades-data-eng
Length of output: 566
🌐 Web query:
urllib3 1.26.20 CVE vulnerabilities 2024 2025💡 Result:
urllib3 1.26.20 (released 2024-08-29) — CVEs in 2024–2025 relevant to this version
2024
Not affected in 1.26.20 — this CVE affects urllib3 versions < 1.26.19, and 1.26.20 is newer than (and includes the fix from) 1.26.19. [1][2]
2025
CVE-2025-66418 (unbounded decompression chain → CPU/memory DoS)
Affected: urllib3 >= 1.24 and < 2.6.0 → includes 1.26.20.
Fixed in: 2.6.0. [3][4]
CVE-2025-66471 (streaming decompression of highly-compressed data → CPU/memory DoS / “data amplification”)
Affected: urllib3 >= 1.0 and < 2.6.0 → includes 1.26.20.
Fixed in: 2.6.0. [5][6]
Practical takeaway
Sources: PyPI release info for 1.26.20 [1]; CVE-2024-37891 affected-range info [2]; NVD for CVE-2025-66418 [3] and CVE-2025-66471 [5]; GitLab advisory pages for both 2025 CVEs [4][6]; urllib3 security policy/support statement [7].
Update urllib3 to >= 2.6.0 to address decompression vulnerabilities.
urllib3 versions < 2.6.0 are affected by CVE-2025-66418 and CVE-2025-66471, which allow denial-of-service attacks through unbounded and streaming decompression. Since requests==2.32.5 allows urllib3 < 3, vulnerable versions could be installed. Explicitly pin urllib3 >= 2.6.0 in requirements.txt to ensure patched versions are used.
🧰 Tools
🪛 OSV Scanner (2.3.2)
[HIGH] 1-1: urllib3 1.26.20: urllib3 streaming API improperly handles highly compressed data
(GHSA-2xpw-w6gg-jr37)
[HIGH] 1-1: urllib3 1.26.20: Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
(GHSA-38jv-5279-wg99)
[HIGH] 1-1: urllib3 1.26.20: urllib3 allows an unbounded number of links in the decompression chain
(GHSA-gm62-xv2j-4w53)
[HIGH] 1-1: urllib3 1.26.20: urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
(GHSA-pq67-6m6q-mj2v)
🤖 Prompt for AI Agents