CVE-2019-15542
HIGH 7.5CVSS 3.0Uncontrolled recursion in ammonia
An issue was discovered in the ammonia crate before 2.1.0 for Rust. There is uncontrolled recursion during HTML DOM tree serialization.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-5hp8-35wj-m525RUSTSEC-2019-0001
- Sources
- NVDJSONOSV GHSA-5hp8-35wj-m525JSONOSV RUSTSEC-2019-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ammonia_project | ammoniacpe:2.3:a:ammonia_project:ammonia:*:*:*:*:*:*:*:* |
< 2.1.0 | 2.1.0 |
| OSV | crates.io | ammonia | < 2.1.0 | 2.1.0 |
| OSV | crates.io | ammonia | >= 0.0.0-0, < 2.1.0 | 2.1.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0001.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-15542 · ADVISORY
- https://github.com/rust-ammonia/ammonia · PACKAGE
- https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md#210 · WEB
- https://crates.io/crates/ammonia · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Apr 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)