Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ammonia
  4. ›
  5. CVE-2019-15542

CVE-2019-15542: Uncontrolled recursion in ammonia

August 25, 2021

An issue was discovered in the ammonia crate before 2.1.0 for Rust. There is uncontrolled recursion during HTML DOM tree serialization.

References

  • github.com/advisories/GHSA-5hp8-35wj-m525
  • github.com/rust-ammonia/ammonia
  • github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md
  • nvd.nist.gov/vuln/detail/CVE-2019-15542
  • rustsec.org/advisories/RUSTSEC-2019-0001.html

Code Behaviors & Features

Detect and mitigate CVE-2019-15542 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

cargo/ammonia/CVE-2019-15542.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.