Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1124: Excessively Deep Nesting

Base Incomplete Mapping prohibited

The code contains a callable or other code grouping in which
the nesting / branching is too deep.

Source: MITRE CWE-1124

4 results · Feed

  • High 7.5

    lopdf has a stack overflow via deeply nested PDF objects

    `lopdf::Document::load_mem` (and the other `load*` entry points) parses nested PDF arrays and dictionaries with unbounded recursion. A small crafted PDF whose Catalog contains a deeply nested array (`/X [[[ … ]]]`, on the order of 10,000 levels) exhausts the …

  • High 7.5

    eml_parser: DoS via deeply nested parens in Received headers

    eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to 3.0.2, eml_parser.routing.noparenthesis in eml_parser/routing.py removes parenthesized CFWS comments fro…

  • Medium 5.3

    eml_parser: Parser DoS via deeply nested parentheses in e-mail headers

    eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to 3.0.2, eml_parser.parser.HeaderParser.header_fetch_parse in eml_parser/parser.py uses email.utils.getadd…

  • High 7.5

    Envoy: Stack overflow in destructor of highly nested JSON

    Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, destructor of JSON Object results in stack overflow when deeply O(100K) nested objects are present. This vulnerability is fixe…