Repository navigation
Release Notes for 1.6.4
1.6.x bugfix release (patch)
Security
This release fixes 12 security advisories: 5 high and 7 moderate. All of them are patched in 1.6.4; the 1.0.x through 1.5.x lines are end of life and receive no fix, so users on those lines must upgrade to 1.6.4.
Anyone parsing PEM or DER from untrusted sources, or validating certification paths, name constraints or certificate policies with this library, should upgrade. Some fixes refuse input that was accepted before: each advisory lists what changed.
High
- GHSA-6g3r-wqc4-gmgg — Decoding and re-encoding ASN.1 numbers is still super-linear, so a few kilobytes of unauthenticated certificate cost tens of seconds of CPU
- GHSA-73xv-r2ch-g9rg — Path building compares names before checking signatures, at a cost of seconds for a few kilobytes of unsigned certificates
- GHSA-7mch-3x43-w5pp — Name constraints are still evaded by URIs whose host other parsers read differently, and by wildcard dNSNames under an excluded subtree
- GHSA-q69f-pmfg-rrcf — PEM parsing still backtracks super-linearly on runs of line breaks, so 10 KB of text costs about 3 s of CPU below the stock backtrack limit
- GHSA-xmjr-hx87-4x33 — Distinguished name comparison is still defeated by TeletexString, by attribute types without a matching rule, and by gaps in the RFC 4518 mapping
Moderate
- GHSA-2jpc-5g88-6926 — Extensions and tagged fields decoded without their ASN.1 template let a malformed encoding signed by an issuer drop its restriction
- GHSA-8455-6cc5-5q3x — The certificate policy tree is still unbounded in work, so a 20 KB chain from a delegated sub-CA costs 9 seconds of CPU
- GHSA-cj2p-wqcw-66qf — The unsigned outer fields of certificates, CSRs and attribute certificates are malleable, so one signed object has unlimited accepted encodings
- GHSA-cw43-4q57-3pf3 — The signature policy cannot refuse weak EC curves or an RSA exponent of 1, and with e = 1 anyone can forge certificates under that CA
- GHSA-ffhw-jhcg-cg73 — A negative RC2 version in an AlgorithmIdentifier raises a TypeError that escapes catch (Exception)
- GHSA-rh7f-69vc-w2m3 — [APPLICATION 0] and [PRIVATE 0] elements are taken for end-of-contents, so BER content is read differently from OpenSSL and an RFC 3161 timestamp can be re-targeted
- GHSA-rrcw-wmw5-fhhf — Name constraint checking compares every name with every subtree with no cap, so a 21 KB chain from a delegated sub-CA costs 4.6 s
1.6.4
- Total issues resolved: 0
- Total pull requests resolved: 0
- Total contributors: 0