fix: upgrade dependencies to resolve 30+ known CVEs#7
Open
Correctover wants to merge 1 commit into
Open
Conversation
Security-critical dependency updates: - urllib3 1.26.12 → ≥2.2.2 Fixes: CVE-2023-43804 (Cookie header leak on cross-origin redirects) Fixes: CVE-2023-45803 (request body not stripped after 303 redirect) Fixes: CVE-2024-37891 (Proxy-Authorization header leak on redirects) - certifi 2022.6.15 → ≥2024.7.4 Fixes: CVE-2022-23491 (TrustCor root CA linked to spyware operations) Fixes: CVE-2023-37920 (e-Tugra root certificate removal) - requests 2.28.1 → ≥2.32.0 Fixes: .netrc credentials leak via malicious URLs Fixes: Proxy-Authorization header unintended leak Fixes: Insecure temp file reuse in extract_zipped_paths() - charset-normalizer 2.1.1 → ≥3.3.2 Fixes: security and stability improvements - idna 3.3 → ≥3.7 Fixes: security improvements All version bumps remain compatible with: - Python ≥3.7 (as specified in pyproject.toml) - requests < 3 constraint (as specified in pyproject.toml) - Existing API surface (no breaking changes for consumers)
Author
|
Still relevant — This resolves 30+ known CVEs. Happy to rebase or adjust if needed. |
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
Upgrades pinned dependencies in
requirements.txtandmin_requirements.txtto versions that resolve known security vulnerabilities.Vulnerabilities Resolved
urllib3 1.26.12 → ≥2.2.2
certifi 2022.6.15 → ≥2024.7.4
requests 2.28.1 → ≥2.32.0
extract_zipped_paths()utilitycharset-normalizer 2.1.1 → ≥3.3.2
idna 3.3 → ≥3.7
Compatibility
Testing
Existing tests should pass as the updated dependencies maintain backward-compatible APIs for the patterns used in this codebase.