8.7 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
8 packages
- python313Packages.mypy-boto3-payment-cryptography
- python314Packages.mypy-boto3-payment-cryptography
- python313Packages.mypy-boto3-payment-cryptography-data
- python314Packages.mypy-boto3-payment-cryptography-data
- python313Packages.types-aiobotocore-payment-cryptography
- python314Packages.types-aiobotocore-payment-cryptography
- python313Packages.types-aiobotocore-payment-cryptography-data
- python314Packages.types-aiobotocore-payment-cryptography-data
- @LeSuisse accepted
- @LeSuisse published on GitHub
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
python-cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 49.0.0, when resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limitation that the chain depth cannot exceed a specified maximum depth prevents unbounded recursion and guarantees termination, an attacker-controlled certificate chain can lead the processing to easily take more than 5s to reject in testing. This amplification could form the basis for a resource exhaustion denial of service attack. The core issue arises in the recursive nature of build_chain_inner, which does not de-duplicate against previously analyzed candidates. As the correctness of validation is not affected, the integrity of a system cannot be compromised through this vector, only its availability. This issue is fixed in 49.0.0.
References
-
https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww x_refsource_CONFIRM
-
https://github.com/pyca/cryptography/pull/14960 x_refsource_MISC
Affected products
- ==< 49.0.0
Matching in nixpkgs
pkgs.python313Packages.cryptography
Package which provides cryptographic recipes and primitives
Ignored packages (8)
pkgs.python313Packages.mypy-boto3-payment-cryptography
Type annotations for boto3 payment-cryptography
pkgs.python314Packages.mypy-boto3-payment-cryptography
Type annotations for boto3 payment-cryptography
pkgs.python313Packages.mypy-boto3-payment-cryptography-data
Type annotations for boto3 payment-cryptography-data
pkgs.python314Packages.mypy-boto3-payment-cryptography-data
Type annotations for boto3 payment-cryptography-data
pkgs.python313Packages.types-aiobotocore-payment-cryptography
Type annotations for aiobotocore payment-cryptography
pkgs.python314Packages.types-aiobotocore-payment-cryptography
Type annotations for aiobotocore payment-cryptography
-
nixos-unstable -
- nixos-unstable-small 3.8.0
pkgs.python313Packages.types-aiobotocore-payment-cryptography-data
Type annotations for aiobotocore payment-cryptography-data
pkgs.python314Packages.types-aiobotocore-payment-cryptography-data
Type annotations for aiobotocore payment-cryptography-data
-
nixos-unstable -
- nixos-unstable-small 3.8.0
Package maintainers
-
@mdaniels5757 Michael Daniels <nix@mdaniels.me>