CVE-2021-27671
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
Description
An issue was discovered in the comrak crate before 0.9.1 for Rust. XSS can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.
Overview
- CVE ID
- CVE-2021-27671
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-25T01:15:13
- Last Modified Date
- 2021-03-02T13:35:08
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* | 1 | OR | 0.9.1 |
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://rustsec.org/advisories/RUSTSEC-2021-0026.html | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-27671 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27671 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:21:21 | Added to TrackCVE | |||
2022-12-05 22:44:38 | 2021-02-25T01:15Z | 2021-02-25T01:15:13 | CVE Published Date | updated |
2022-12-05 22:44:38 | 2021-03-02T13:35:08 | CVE Modified Date | updated | |
2022-12-05 22:44:38 | Analyzed | Vulnerability Status | updated |