Advisory

GHSA-7gf7-jv65-wjmh

Also known as: CVE-2023-34411

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-06-05 06:30 UTC
Modified
2025-01-08 19:00 UTC

Affected packages and fixes

xml-rs

crates.io · All systems

Affected

  • introduced 0.8.9, fixed 0.8.14 (semver)

Fixed versions

0.8.14

Fix

  • Fixed version 0.8.14
    cargo update -p xml-rs --precise 0.8.14

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences