CVE-2021-38193

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-38193
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38193.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38193
Aliases
Related
Published
2021-08-08T06:15:09Z
Modified
2024-09-18T03:15:41.727064Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / rust-ammonia

Package

Name
rust-ammonia
Purl
pkg:deb/debian/rust-ammonia?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rust-ammonia

Package

Name
rust-ammonia
Purl
pkg:deb/debian/rust-ammonia?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/rust-ammonia/ammonia

Affected ranges

Type
GIT
Repo
https://github.com/rust-ammonia/ammonia
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0

v1.*

v1.0.0
v1.0.0-rc1
v1.0.0-rc2
v1.0.0-rc3
v1.0.1
v1.1.0
v1.2.0

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3

v3.*

v3.0.0