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

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

Name Vendor Start Version End Version
Xml_library Xml_library_project * 0.8.14 (excluding)
Rust-xml-rs Ubuntu bionic *
Rust-xml-rs Ubuntu focal *
Rust-xml-rs Ubuntu kinetic *
Rust-xml-rs Ubuntu lunar *
Rust-xml-rs Ubuntu mantic *
Rust-xml-rs Ubuntu oracular *
Rust-xml-rs Ubuntu trusty *
Rust-xml-rs Ubuntu xenial *

Potential Mitigations

References