Skip to content
OpenAdvisories
High · 7.5 CVE-2023-34411 EUVD-2023-1731GHSA-7gf7-jv65-wjmh

xml-rs vulnerable to denial of service via invalid token in XML document

Published Jun 5, 2023 · Updated Jan 8, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-xml-rs No fix yet —
Ubuntu 26.04 LTS rust-xml-rs No fix yet —
Ubuntu 25.10 rust-xml-rs No fix yet —
Ubuntu 24.04 LTS rust-xml-rs No fix yet —
Ubuntu 22.04 LTS rust-xml-rs No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-xml-rs No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io xml-rs >= 0.8.9, < 0.8.14 0.8.14 GHSA-7gf7-jv65-wjmh

References