Skip to content

chore(deps): bump idna 3.11 -> 3.17 (fix CVE-2026-45409)#33

Merged
DIvyaNautiyal07 merged 1 commit into
mainfrom
chore/bump-idna-3.15
May 29, 2026
Merged

chore(deps): bump idna 3.11 -> 3.17 (fix CVE-2026-45409)#33
DIvyaNautiyal07 merged 1 commit into
mainfrom
chore/bump-idna-3.15

Conversation

@DIvyaNautiyal07
Copy link
Copy Markdown
Contributor

Summary

  • Bumps transitive idna from 3.11 to 3.17 in uv.lock via uv lock --upgrade-package idna.
  • Patches GHSA-65pc-fj4g-8rjx / CVE-2026-45409: idna.encode() ran valid_contexto validation on oversized inputs before the length cap, allowing CPU-DoS via crafted strings (e.g. "٠" * N). Fixed in idna 3.15.
  • No source changes; only uv.lock updated.

Why bump rather than dismiss

idna is pulled transitively via requests, anyio, and yarl (through open-autonomy[all]). This repo is a scaffold with no direct callers, so the practical risk here is low. But forks of this template inherit the lockfile and do make HTTP calls (RPC, IPFS) in agent code. Bumping is a one-line lock change with no API impact; dismissing would push the bump onto every downstream fork.

Test plan

  • uv lock --check — lockfile consistent with pyproject.toml
  • uv sync --all-groups — resolves and installs cleanly; idna.__version__ == "3.17" confirmed
  • CI: check-dependencies, check-hash, liccheck, py3.10/3.11/3.12 test matrix

Closes #25

🤖 Generated with Claude Code

Transitive bump via `uv lock --upgrade-package idna`. Patches
GHSA-65pc-fj4g-8rjx (idna < 3.15) — `idna.encode()` ran the
valid_contexto regex pass on oversized inputs before the length
cap, allowing CPU-DoS via crafted strings.

No source changes; only uv.lock updated.

Closes #25

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@DIvyaNautiyal07 DIvyaNautiyal07 merged commit a3fcd52 into main May 29, 2026
45 of 46 checks passed
@DIvyaNautiyal07 DIvyaNautiyal07 deleted the chore/bump-idna-3.15 branch May 29, 2026 11:29
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.

[Security][medium] idna: ReDoS via crafted input to idna.encode()

3 participants