7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
4 packages
- python313Packages.pysnmp-pyasn1
- python314Packages.pysnmp-pyasn1
- python313Packages.pyasn1-modules
- python314Packages.pyasn1-modules
- @LeSuisse accepted
- @LeSuisse published on GitHub
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects. This issue is fixed in version 0.6.4.
References
-
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r x_refsource_CONFIRM
-
https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4 x_refsource_MISC
Affected products
- ==< 0.6.4
Matching in nixpkgs
pkgs.python313Packages.pyasn1
Generic ASN.1 library for Python
Ignored packages (4)
pkgs.python313Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python314Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python313Packages.pyasn1-modules
Collection of ASN.1-based protocols modules
7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
4 packages
- python313Packages.pysnmp-pyasn1
- python314Packages.pysnmp-pyasn1
- python313Packages.pyasn1-modules
- python314Packages.pyasn1-modules
- @LeSuisse accepted
- @LeSuisse published on GitHub
pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. This issue is fixed in version 0.6.4.
References
-
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj x_refsource_CONFIRM
-
https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4 x_refsource_MISC
Affected products
- ==< 0.6.4
Matching in nixpkgs
pkgs.python313Packages.pyasn1
Generic ASN.1 library for Python
Ignored packages (4)
pkgs.python313Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python314Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python313Packages.pyasn1-modules
Collection of ASN.1-based protocols modules
7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
4 packages
- python314Packages.pyasn1-modules
- python313Packages.pyasn1-modules
- python314Packages.pysnmp-pyasn1
- python313Packages.pysnmp-pyasn1
- @LeSuisse accepted
- @LeSuisse published on GitHub
pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is fixed in version 0.6.4.
References
-
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j x_refsource_CONFIRM
-
https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4 x_refsource_MISC
Affected products
- ==< 0.6.4
Matching in nixpkgs
pkgs.python313Packages.pyasn1
Generic ASN.1 library for Python
Ignored packages (4)
pkgs.python313Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python314Packages.pysnmp-pyasn1
Python ASN.1 encoder and decoder
pkgs.python313Packages.pyasn1-modules
Collection of ASN.1-based protocols modules