CVE-2021-38193
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
An issue was discovered in the ammonia crate before 3.1.0 for Rust. XSS can occur because the parsing differences for HTML, SVG, and MathML are mishandled, a similar issue to CVE-2020-26870.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3.1.2-1 |
| debian | forky | fixed | 3.1.2-1 |
| debian | sid | fixed | 3.1.2-1 |
| debian | trixie | fixed | 3.1.2-1 |
References
- https://github.com/rust-ammonia/ammonia/pull/142
- https://nvd.nist.gov/vuln/detail/CVE-2021-38193
- https://github.com/rust-ammonia/ammonia
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md
- https://rustsec.org/advisories/RUSTSEC-2021-0074.html
- https://crates.io/crates/ammonia
- https://security-tracker.debian.org/tracker/CVE-2021-38193
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.