RustSec Advisory Database
RUSTSEC-2019-0001
Uncontrolled recursion leads to abort in HTML serialization
Details
Affected versions of this crate did use recursion for serialization of HTML DOM trees.
This allows an attacker to cause abort due to stack overflow by providing a pathologically nested input.
The flaw was corrected by serializing the DOM tree iteratively instead.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | ammonia | From 0.0.0-0 before 2.1.0 (fixed in 2.1.0) |