Skip to content

fix(oracle-kms): upgrade urllib3 to 2.7.0 to fix CVE-2026-44431 (KSM-1022) - #1069

Draft
stas-schaller wants to merge 3 commits into
masterfrom
release/storage/python/oracle-kms/v1.1.1
Draft

fix(oracle-kms): upgrade urllib3 to 2.7.0 to fix CVE-2026-44431 (KSM-1022)#1069
stas-schaller wants to merge 3 commits into
masterfrom
release/storage/python/oracle-kms/v1.1.1

Conversation

@stas-schaller

@stas-schaller stas-schaller commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

CVE hotfix: upgrades urllib3 to 2.7.0, raises the Python floor to 3.10, and simplifies the OCI constraint.

  • CVE-2026-44431 (urllib3, CVSS High): sensitive headers forwarded across origins on redirect. Fixed by upgrading urllib3 to 2.7.0.
  • requires-python raised to >=3.10 — urllib3 2.7.0 dropped Python 3.9 support (Python 3.9 EOL Oct 2025).
  • Python 3.9 classifier removed from pyproject.toml.
  • oci constraint collapsed from a Python-version split (>=2.167.3,<2.168.2 on 3.9 / >=2.174.0 on 3.10+) to >=2.174.0` (3.9 now out of scope).
  • requirements.txt regenerated via uv pip compile --python-version 3.10 --universal --upgrade-package urllib3.

KSM-1022

Breaking Changes

None for supported Python versions. Python 3.9 is EOL and was already dropped by urllib3 2.7.0.

…1022)

Bump requires-python to >=3.10 (urllib3 2.7.0 drops Python 3.9 support),
remove Python 3.9 classifier, collapse oci constraint to >=2.174.0, and
regenerate requirements.txt. Version 1.1.1.
urllib3 2.7.0 dropped Python 3.9 (KSM-1022 bumped requires-python to
>=3.10), but the test and publish workflows still ran a 3.9 matrix leg,
which failed to resolve deps and canceled the rest of the matrix via
fail-fast. Publish job also built/verified the wheel on 3.9, which pip
would refuse to install once requires-python excludes it.
CVE-2026-45409)

cryptography>=46.0.7 fixes CVE-2026-39892 (non-contiguous buffer overflow
in APIs like Hash.update(), affects 45.0.0-46.0.6); the declared >=46.0.5
floor resolved to a vulnerable version. idna 3.15+ fixes CVE-2026-45409;
the previous lockfile had idna==3.10 pulled in via requests.

Regenerated via uv pip compile per project convention rather than
hand-editing; the full re-resolution also picked up unrelated transitive
bumps (oci, pyjwt, pyopenssl, requests) that were already permitted by
the existing constraints.

KSM-1215
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​crc32c@​2.89910010010070
Updatedpypi/​pyopenssl@​26.2.0 ⏵ 26.4.0100100100100100
Addedpypi/​pyjwt@​2.13.0100100100100100
Updatedpypi/​idna@​3.10 ⏵ 3.18100100 +2100100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant