UBUNTU-CVE-2021-38193

Source
https://ubuntu.com/security/CVE-2021-38193
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38193.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-38193
Related
Published
2021-08-08T06:15:00Z
Modified
2025-01-13T10:22:35Z
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

Ubuntu:22.04:LTS / rust-ammonia

Package

Name
rust-ammonia
Purl
pkg:deb/ubuntu/rust-ammonia@3.1.2-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.1.0-2
3.1.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / rust-ammonia

Package

Name
rust-ammonia
Purl
pkg:deb/ubuntu/rust-ammonia@3.3.0-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.3.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rust-ammonia

Package

Name
rust-ammonia
Purl
pkg:deb/ubuntu/rust-ammonia@3.3.0-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.1-1
3.3.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}