CVE-2023-34411 json
xml-rs vulnerable to denial of service via invalid token in XML document
published 2023-06-05 3 y ago modified 2026-06-17 4 mo ago also GHSA-7gf7-jv65-wjmh , EUVD-2023-1731
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io xml-rs 0.8.14
- xml_library_project xml_library 0.8.14
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
1.16% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/netvl/xml-rs/pull/226 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | xml-rs | >=0.8.9, <0.8.14 |
0.8.14 |
Classification
References
-
github.com
/netvl/xml-rs/pull/226
web, exploit
-
github.com
/00xc/xml-rs/commit/0f084d45aa53e4a27476961785f59f2bd7d59a9f
web, patch
-
github.com
/netvl/xml-rs/commit/c09549a187e62d39d40467f129e64abf32efc35c
web, patch
-
github.com
/netvl/xml-rs/compare/0.8.13...0.8.14
web, patch
-
github.com
/netvl/xml-rs/commit/014d808be900c85a0afc5ccdfe668be040d175aa
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-34411
advisory
-
github.com
/netvl/xml-rs
package
Sources
- CVE List CVE-2023-34411
- GitHub Advisory GHSA-7gf7-jv65-wjmh
- NVD CVE-2023-34411
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.