CVE-2019-15542: Uncontrolled recursion in ammonia
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57838%
CWE
Published
8/25/2021
Updated
1/11/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ammonia | rust | < 2.1.0 | 2.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The RustSec advisory explicitly lists these functions in the 'Affected Functions' section and describes how they used recursive DOM tree serialization. The changelog for 2.1.0 confirms the fix involved replacing recursion with iterative serialization. These functions are core to the crate's HTML processing workflow, making them the clear vectors for the stack overflow vulnerability through pathologically nested input.