Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. xml-rs
  4. ›
  5. CVE-2023-34411

CVE-2023-34411: xml-rs vulnerable to denial of service via invalid token in XML document

June 5, 2023 (updated January 8, 2025)

The xml-rs crate >= 0.8.9 and < 0.8.14 for Rust and Crab allows a denial of service (panic) via an invalid <! token (such as <!DOCTYPEs/%<!A nesting) in an XML document.

References

  • github.com/00xc/xml-rs/commit/0f084d45aa53e4a27476961785f59f2bd7d59a9f
  • github.com/advisories/GHSA-7gf7-jv65-wjmh
  • github.com/netvl/xml-rs
  • github.com/netvl/xml-rs/commit/014d808be900c85a0afc5ccdfe668be040d175aa
  • github.com/netvl/xml-rs/commit/c09549a187e62d39d40467f129e64abf32efc35c
  • github.com/netvl/xml-rs/compare/0.8.13...0.8.14
  • github.com/netvl/xml-rs/pull/226
  • nvd.nist.gov/vuln/detail/CVE-2023-34411

Code Behaviors & Features

Detect and mitigate CVE-2023-34411 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 starting from 0.8.9 before 0.8.14

Fixed versions

  • 0.8.14

Solution

Upgrade to version 0.8.14 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference
  • CWE-617: Reachable Assertion

Source file

cargo/xml-rs/CVE-2023-34411.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:04 +0000.