Technical impact
The vulnerability exists in the pyasn1 library, where decoding of constructed BIT STRING fragments performs repeated shifting and copying of an ever‑growing bit buffer, leading to quadratic CPU consumption. An attacker can craft a BER or CER input containing many constructed BIT STRING fragments, exhausting the processor during the decoder’s init phase before any data conversion or formatting occurs. This results in a denial of service by blocking legitimate processing and degrading overall system performance.
Affected Systems
All installations of the pyasn1 package older than version 0.6.5 are affected. The issue appears in the pyasn1:pyasn1 product, regardless of the Python environment, whenever the library processes BER, CER, or definite‑length constructed BIT STRING inputs from untrusted sources.
Risk and Exploitability
The CVSS score of 7.5 indicates a high severity impact for availability. The EPSS score is less than 1%, and the vulnerability is not listed in the CISA KEV catalog, indicating no known exploitation yet. Attackers would need the ability to supply or influence the ASN.1 input processed by the library, which could be achieved via network services or file ingestion interfaces. The lack of a direct exploitation vector for confidentiality or integrity confines the threat to resource exhaustion, yet the potential for widespread denial of service in heavily loaded environments warrants prompt action.
Github GHSA
Ubuntu USN