fix: bump pyasn1 >= 0.6.4 to remediate CVE-2026-59885#329
Merged
Conversation
IlonaShishov
approved these changes
Jul 15, 2026
IlonaShishov
left a comment
Collaborator
There was a problem hiding this comment.
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
force-pushed
the
worktree-CVE-2026-59885
branch
from
July 15, 2026 09:30
bbc5307 to
d6eee4c
Compare
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
pyasn1 < 0.6.4BER/CER/DER decoders process OBJECT IDENTIFIER values in quadratic time, enabling DoS via crafted ASN.1 payloadspyasn1>=0.6.4as a direct dependency floor inpyproject.toml(transitive chain:google-auth→pyasn1-modules→pyasn1)requirements-agent.txt,requirements-handler.txt,requirements-dev.txt): 0.6.3 → 0.6.4Test plan
make lint— passes (ruff + mypy)make test— all 466 tests passmake audit— no known vulnerabilities found across all lock files🤖 Generated with Claude Code