CVE-2021-38193
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
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.
Overview
- CVE ID
- CVE-2021-38193
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-08-08T06:15:09
- Last Modified Date
- 2021-08-16T16:37:27
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ammonia_project:ammonia:*:*:*:*:*:rust:*:* | 1 | OR | 3.1.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md | Third Party Advisory |
https://rustsec.org/advisories/RUSTSEC-2021-0074.html | Exploit Issue Tracking Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-38193 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38193 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:57:08 | Added to TrackCVE | |||
2022-12-05 07:40:38 | 2021-08-08T06:15Z | 2021-08-08T06:15:09 | CVE Published Date | updated |
2022-12-05 07:40:39 | 2021-08-16T16:37:27 | CVE Modified Date | updated | |
2022-12-05 07:40:39 | Analyzed | Vulnerability Status | updated |