Skip to content

fix(deps): bump pyasn1 to 0.6.4 for VULN-88810#130

Merged
shuningc merged 1 commit into
mainfrom
VULN-88810-pyasn1-upgrade
Jul 24, 2026
Merged

fix(deps): bump pyasn1 to 0.6.4 for VULN-88810#130
shuningc merged 1 commit into
mainfrom
VULN-88810-pyasn1-upgrade

Conversation

@shuningc

Copy link
Copy Markdown
Contributor

Summary

  • Remediate VULN-88810: ASN.1 decoder DoS via unbounded recursion on nested indefinite-length SEQUENCE/SET (fixed in 0.6.3).
  • poetry.lock: pyasn1 0.6.1 → 0.6.4 (transitive; no pyproject change).
  • Example pin: pyasn1==0.6.3.

Test plan

  • poetry check
  • Installed pyasn1 0.6.4; poetry run pytest tests/ (1988 passed, 10 skipped)

Jira

VULN-88810

Remediate ASN.1 decoder DoS from unbounded recursion on deeply nested
SEQUENCE/SET indefinite-length payloads (fixed in 0.6.3). Lock-only bump;
example pin set to 0.6.3.

Co-authored-by: Cursor <cursoragent@cursor.com>
@etserend

Copy link
Copy Markdown
Contributor

Code Review — AI-Assisted Feedback

Reviewed by Claude Code (Claude Opus), automated review to assist human reviewers.

Verdict: Approve with comments

Minimal, well-scoped vulnerability fix. One minor version drift noted below.


P3 — Example pin (0.6.3) lags lockfile version (0.6.4) (Claude Code)

File/Section: examples/rag/elastic-chatbot-rag-app/requirements.txt:351
Issue: The example requirements file pins pyasn1==0.6.3 (the minimum version fixing VULN-88810) while poetry.lock resolves to 0.6.4. Both include the CVE fix (introduced in 0.6.3), so this is not a security concern — purely a consistency nit.
Evidence: Diff shows pyasn1==0.6.3 in requirements.txt vs version = "0.6.4" in poetry.lock.
Recommended fix: Optional — bump example pin to pyasn1==0.6.4 to align with the lockfile and avoid drift.


Reviewer Model Key Contribution
Claude Code Claude Opus Flagged version drift between example pin and lockfile

@etserend
etserend self-requested a review July 24, 2026 20:54
@shuningc
shuningc merged commit 8c88299 into main Jul 24, 2026
13 checks passed
@shuningc
shuningc deleted the VULN-88810-pyasn1-upgrade branch July 24, 2026 22:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants