Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding. Any constructe...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libconvert-asn1-perl |
All versions→ Not listed |
Not listed |
| Debian:13libconvert-asn1-perl |
All versions→ Not listed |
Not listed |
| Debian:14libconvert-asn1-perl |
< 0.37-1→ 0.37-1 |
0.37-1 |
Original description The description as published by the source.
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unlimited recursion depth in constructed-form string decoding. Any constructed-form string element causes the decoder to recurse on the element's contents. The BER encoding controls nesting depth at four bytes per level, with no bound checked. Perl recursion is heap-allocated, so the process grows without a stack crash. An attacker who controls the decoded data can exhaust memory with a small deeply nested constructed string.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org