CVE-2021-21236
CVSS V2 Medium 4.3
CVSS V3 Medium 5.5
Description
CairoSVG is a Python (pypi) package. CairoSVG is an SVG converter based on Cairo. In CairoSVG before version 2.5.1, there is a regular expression denial of service (REDoS) vulnerability. When processing SVG files, the python package CairoSVG uses two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS). If an attacker provides a malicious SVG, it can make cairosvg get stuck processing the file for a very long time. This is fixed in version 2.5.1. See Referenced GitHub advisory for more information.
Overview
- CVE ID
- CVE-2021-21236
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-06T17:15:23
- Last Modified Date
- 2021-01-13T15:43:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:courtbouillon:cairosvg:*:*:*:*:*:*:*:* | 1 | OR | 2.5.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- 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:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/Kozea/CairoSVG/commit/cfc9175e590531d90384aa88845052de53d94bf3 | Patch Third Party Advisory |
https://github.com/Kozea/CairoSVG/security/advisories/GHSA-hq37-853p-g5cf | Exploit Third Party Advisory |
https://pypi.org/project/CairoSVG/ | Product Third Party Advisory |
https://github.com/Kozea/CairoSVG/releases/tag/2.5.1 | Release Notes Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21236 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21236 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:27:26 | Added to TrackCVE | |||
2022-12-05 19:27:23 | 2021-01-06T17:15Z | 2021-01-06T17:15:23 | CVE Published Date | updated |
2022-12-05 19:27:23 | 2021-01-13T15:43:11 | CVE Modified Date | updated | |
2022-12-05 19:27:23 | Analyzed | Vulnerability Status | updated |