Skip to content

fix: bump pyasn1 >= 0.6.4 to remediate CVE-2026-59885#329

Merged
luis5tb merged 1 commit into
RHEcosystemAppEng:mainfrom
luis5tb:worktree-CVE-2026-59885
Jul 15, 2026
Merged

fix: bump pyasn1 >= 0.6.4 to remediate CVE-2026-59885#329
luis5tb merged 1 commit into
RHEcosystemAppEng:mainfrom
luis5tb:worktree-CVE-2026-59885

Conversation

@luis5tb

@luis5tb luis5tb commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • CVE-2026-59885: pyasn1 < 0.6.4 BER/CER/DER decoders process OBJECT IDENTIFIER values in quadratic time, enabling DoS via crafted ASN.1 payloads
  • Added pyasn1>=0.6.4 as a direct dependency floor in pyproject.toml (transitive chain: google-authpyasn1-modulespyasn1)
  • Regenerated all lock files (requirements-agent.txt, requirements-handler.txt, requirements-dev.txt): 0.6.3 → 0.6.4

Test plan

  • make lint — passes (ruff + mypy)
  • make test — all 466 tests pass
  • make audit — no known vulnerabilities found across all lock files

🤖 Generated with Claude Code

@IlonaShishov IlonaShishov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

google-adk → google-auth → pyasn1-modules→ pyasn1>=0.6.1,<0.7.0.
pyasn1==0.6.4 is in range and can be safely pinned.

Thanks for the important fix :)
LGTM

pyasn1 < 0.6.4 has quadratic-time OID decoding/encoding that allows
denial of service via crafted ASN.1 payloads. Pulled in transitively
via google-auth → pyasn1-modules → pyasn1.

Added pyasn1>=0.6.4 as a direct dependency floor in pyproject.toml
and regenerated all lock files (0.6.3 → 0.6.4).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@luis5tb
luis5tb force-pushed the worktree-CVE-2026-59885 branch from bbc5307 to d6eee4c Compare July 15, 2026 09:30
@luis5tb
luis5tb merged commit c0a7506 into RHEcosystemAppEng:main Jul 15, 2026
15 checks passed
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.

2 participants