Skip to content

Require patched AnyIO and Python 3.10 for the SDK - #20

Merged
haegwan merged 1 commit into
mainfrom
oneleet-sep23
Sep 23, 2026
Merged

haegwan merged 1 commit into
mainfrom
oneleet-sep23

Conversation

@sanka-change-bot

Copy link
Copy Markdown
Contributor

Summary

Resolve CVE-2026-63374 and CVE-2026-64847 by requiring AnyIO >=4.14.2,<5 and locking 4.14.2. With explicit user approval, raise the Python minimum from 3.9 to 3.10 and align the README and CI matrix. Add a network-free TLS hostname regression that reproduces the IDNA 2003 confusion on 4.13.0 and passes on 4.14.2. Generated SDK source is unchanged. A separately approved versioned SDK release is still required after merge.

Audit

  • Requester: @haegwan
  • Authoring identity: Sanka Change Bot
  • Head SHA: 5df065aa008c2656986e3d2e1ce2319e97c0bfca
  • Risk: medium
  • Deploy mode: none
  • Production surface: Python SDK source; no package publication in this PR operation

Validation

  • uv lock --check -> passed
  • uv run --frozen ruff check tests/test_tls_dependency.py -> passed
  • uv run --frozen --python 3.10 python -W error -m unittest discover -s tests -v -> passed
  • uv run --frozen --python 3.14 python -W error -m unittest discover -s tests -v -> passed
  • uv build -> passed
  • Original AnyIO 4.13.0 failed the two Unicode hostname cases; the ASCII control passed. Patched 4.14.2 passes all three cases. GitHub CI covers Python 3.10 through 3.14. -> reported passed
  • No-local-check reason: N/A
  • Required GitHub checks must complete before landing.
  • Valid review findings must be addressed before landing.

Change Safety

  • Data or migration impact: No data or API-contract changes. Python 3.9 installations must upgrade before installing the next SDK release.
  • Rollback: Revert only after evaluating the vulnerable dependency exposure; do not republish an existing PyPI version.
  • Monitoring: Repository deployment helper smoke checks.

Approval And Deployment Authorization

  • The PR is ready for final human review; no intended code changes remain.
  • The listed head SHA is the exact revision being presented for approval.

By approving this PR, the reviewer authorizes merge of the exact approved revision. This repository has no production deployment in this flow. A later push requires a new approval.

@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
Updatedanyio@​4.13.0 ⏵ 4.14.297100 +75100100100

View full report

@haegwan
haegwan merged commit eb9fa54 into main Sep 23, 2026
7 checks passed
@haegwan
haegwan deleted the oneleet-sep23 branch September 23, 2026 04:11
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