netvl/xml-rs · Security
xml-rs vulnerable to denial of service via invalid token in XML document
- GHSA ID
- GHSA-7gf7-jv65-wjmh
- CVE ID
- CVE-2023-34411
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-611 · Improper Restriction of XML External Entity Reference
- CWE-617 · Reachable Assertion
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34411 ↗
- https://github.com/netvl/xml-rs/pull/226 ↗
- https://github.com/00xc/xml-rs/commit/0f084d45aa53e4a27476961785f59f2bd7d59a9f ↗
- https://github.com/netvl/xml-rs/commit/c09549a187e62d39d40467f129e64abf32efc35c ↗
- https://github.com/netvl/xml-rs/compare/0.8.13...0.8.14 ↗
- https://github.com/netvl/xml-rs/commit/014d808be900c85a0afc5ccdfe668be040d175aa ↗
- https://github.com/advisories/GHSA-7gf7-jv65-wjmh ↗