[GHSA-jwv3-5hgf-82ww] python-cryptography: Duplicate self-signed intermediates can cause exponential path-building - #9213
Open
dguerri wants to merge 1 commit into
Conversation
Collaborator
|
Hi there @alex! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository. This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory |
github-actions
Bot
changed the base branch from
main
to
dguerri/advisory-improvement-9213
August 26, 2026 10:21
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.
Updates
Comments
Please add an introduced: "42.0.0" lower bound to the OSV JSON ranges block (or update the range to >= 42.0.0, < 49.0.0).
Reason for change:
The resource exhaustion Denial-of-Service flaw outlined in CVE-2026-69249 is specifically isolated to the recursive parsing logic within the build_chain_inner function.
This function—and the initial Rust-based X.509 path validation engine it belongs to—was first introduced to the cryptography library in version 42.0.0 via commit 3763aa79b6d05e245973ee273f9a04cbab6eaab6 pyca/cryptography@3763aa7.
Because versions prior to 42.0.0 do not contain this underlying code or functionality, they are not structurally vulnerable to this exploit. Without this strict lower bound, automated vulnerability and supply-chain scanners (OSV) are broadly alerting on legacy versions (such as 3.x and 41.x) as false positives.