CVE Vulnerabilities

CVE-2023-34411

Improper Restriction of XML External Entity Reference

Published: Jun 05, 2023 | Modified: Jan 08, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The xml-rs crate before 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. The earliest affected version is 0.8.9.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

NameVendorStart VersionEnd Version
Xml_libraryXml_library_project*0.8.14 (excluding)
Rust-xml-rsUbuntubionic*
Rust-xml-rsUbuntufocal*
Rust-xml-rsUbuntukinetic*
Rust-xml-rsUbuntulunar*
Rust-xml-rsUbuntumantic*
Rust-xml-rsUbuntuoracular*
Rust-xml-rsUbuntuplucky*
Rust-xml-rsUbuntutrusty*
Rust-xml-rsUbuntuxenial*

Potential Mitigations

References