2 matches found
GHSA-M4P7-R5RC-7G4J pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs
Impact The BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size...
Excessive Iteration
Overview Affected versions of this package are vulnerable to Excessive Iteration via the BER decoder, which is also used by the CER and DER codecs, when parsing long-form tag IDs without an upper bound. An attacker can exhaust system resources and potentially trigger unhandled exceptions by...