Skip to content

Bump pyasn1 from 0.6.3 to 0.6.4 - #1182

Merged
umbertoDifa merged 2 commits into
masterfrom
dependabot/pip/pyasn1-0.6.4
Sep 1, 2026
Merged

umbertoDifa merged 2 commits into
masterfrom
dependabot/pip/pyasn1-0.6.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pyasn1 from 0.6.3 to 0.6.4.

Release notes

Sourced from pyasn1's releases.

Release 0.6.4

This is a security release.

  • CVE-2026-59885 (GHSA-8ppf-4f7h-5ppj): Fixed quadratic time complexity in the OBJECT IDENTIFIER and RELATIVE-OID decoders. A small crafted substrate encoding many arcs could consume excessive CPU.
  • CVE-2026-59884 (GHSA-m4p7-r5rc-7g4j): Limited BER long-form tag IDs to 20 octets (140 bits). Unbounded tag IDs allowed a crafted substrate to consume excessive CPU and memory.
  • CVE-2026-59886 (GHSA-hm4w-wwcw-mr6r): Fixed excessive memory and CPU consumption in Real.__float__() for values with large base-10 exponents.
  • Pinned PyPI publish GitHub Action to an immutable commit.

All changes are noted in the CHANGELOG.

Changelog

Sourced from pyasn1's changelog.

Revision 0.6.4, released 08-07-2026

  • CVE-2026-59885 (GHSA-8ppf-4f7h-5ppj): Fixed quadratic time complexity in the OBJECT IDENTIFIER and RELATIVE-OID decoders. A small crafted substrate encoding many arcs could consume excessive CPU. Arcs are now accumulated in linear time; decoded values are unchanged (thanks for reporting, tynus2)
  • CVE-2026-59884 (GHSA-m4p7-r5rc-7g4j): Limited BER long-form tag IDs to 20 octets (140 bits), matching the OID arc limit introduced in 0.6.2. Unbounded tag IDs allowed a crafted substrate to consume excessive CPU and memory; longer tag IDs are now rejected with PyAsn1Error. Also fixed Tag and TagSet repr() failing on huge tag (thanks for reporting, mikeappsec) IDs due to the integer-to-string conversion limit (Python 3.11+)
  • CVE-2026-59886 (GHSA-hm4w-wwcw-mr6r): Fixed excessive memory and CPU consumption in Real.float() for values with large base-10 exponents. Conversion no longer materializes huge intermediate integers; values too large to represent as a Python float raise OverflowError promptly, and prettyPrint() renders them as '' as before. Also fixed base-10 mantissa normalization to use exact integer arithmetic; mantissas larger than 2**53 could previously lose precision through float division (thanks for reporting, gvozdila)
  • Pinned PyPI publish GitHub Action to an immutable commit [pr #113](pyasn1/pyasn1#113)
Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 22, 2026
@cursor

cursor Bot commented Jul 22, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Security-hardening dependency patch with narrow scope; low runtime risk aside from rejecting previously accepted malicious ASN.1 inputs.

Overview
Updates poetry.lock to pull pyasn1 from 0.6.3 to 0.6.4, a security patch release for ASN.1 BER decoding (OID/relative-OID CPU issues, bounded BER tag IDs, and safer Real float conversion). pyasn1 remains an optional transitive dependency on the storage-gcp / storage-all extras (via Google auth stacks).

The lockfile diff also includes incidental resolver churn: Poetry header version comment, reordered extra markers, idna 3.11 → 3.15, and similar ordering-only edits elsewhere—no intentional feature changes beyond the pyasn1 bump.

Reviewed by Cursor Bugbot for commit 16d4a2a. Configure here.

@umbertoDifa

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](pyasn1/pyasn1@v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/pyasn1-0.6.4 branch from f354032 to 5483a10 Compare September 1, 2026 10:00
… markers

Dependabot's lockfile update flipped pyasn1 from optional=true to
optional=false and dropped its storage-gcp/storage-all extras markers,
which would make it an unconditional install.
@umbertoDifa

Copy link
Copy Markdown
Collaborator

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 16d4a2a. Configure here.

@umbertoDifa
umbertoDifa merged commit 6446052 into master Sep 1, 2026
22 checks passed
@umbertoDifa
umbertoDifa deleted the dependabot/pip/pyasn1-0.6.4 branch September 1, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant