2 matches found
GHSA-MJ63-M3RC-8PPR league/commonmark: Denial of service via deeply nested XML output
Impact XmlRenderer pretty-prints XML by emitting depth-proportional indentation whitespace for every opening and closing tag. For a tree of depth n, the indentation alone sums to On² bytes of output and corresponding memory, reachable through MarkdownToXmlConverter — e.g. strrepeat' ', $depth...
RUSTSEC-2018-0006 Uncontrolled recursion leads to abort in deserialization
Affected versions of this crate did not prevent deep recursion while deserializing data structures. This allows an attacker to make a YAML file with deeply nested structures that causes an abort while deserializing it. The flaw was corrected by checking the recursion depth. Note: clap 2.33 is not...