Description
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited recursion in the BER decoder leads to stack exhaustion and DoS.
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited recursion in the BER decoder leads to stack exhaustion and DoS.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| debian | debian linux | 9.0 | – |
| fedoraproject | fedora | 26 | – |
| fedoraproject | fedora | 27 | – |
| gnu | libtasn1 | <= 4.12 | – |
CWE-674 Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
| Scope | Impact |
|---|---|
| Availability | DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory) Resources including CPU, memory, and stack memory could be rapidly consumed or exhausted, eventually leading to an exit or crash. |
| Confidentiality | Read Application Data In some cases, an application's interpreter might kill a process or thread that appears to be consuming too many resources, such as with PHP's memory_limit setting. When the interpreter kills the process/thread, it might report an error containing detailed information such as the application's installation path. |
All 664 CWE-674 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org