CVE-2019-15542 json
Uncontrolled recursion in ammonia
published 7y ago modified 4mo ago also GHSA-5hp8-35wj-m525 , RUSTSEC-2019-0001 , EUVD-2021-1575
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An issue was discovered in the ammonia crate before 2.1.0 for Rust. There is uncontrolled recursion during HTML DOM tree serialization.
Patch / fix
- crates.io ammonia 2.1.0
- ammonia_project ammonia 2.1.0
Is CVE-2019-15542 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | ammonia | <2.1.0 >=0.0.0-0, <2.1.0 |
2.1.0 |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
rustsec.org
/advisories/RUSTSEC-2019-0001.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-15542
advisory
-
github.com
/rust-ammonia/ammonia
package
-
github.com
/rust-ammonia/ammonia/blob/master/CHANGELOG.md#210
web
-
crates.io
/crates/ammonia
package
Sources
- CVE List CVE-2019-15542
- GitHub Advisory GHSA-5hp8-35wj-m525
- NVD CVE-2019-15542
- OSV RUSTSEC-2019-0001
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.