Resource exhaustion in Kozea Cairosvg
CVE-2021-21236
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 CairoS…
Vulnerability class: DoS (Denial of Service)
EPSS: 0.001 (33.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Kozea Cairosvg — versions < 2.5.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/Kozea/CairoSVG/security/advisories/GHSA-hq37-853p-g5cf (x_refsource_CONFIRM)
- pypi.org/project/CairoSVG/ (x_refsource_MISC)
- github.com/Kozea/CairoSVG/commit/cfc9175e590531d90384aa88845052de53d94bf3 (x_refsource_MISC)
- github.com/Kozea/CairoSVG/releases/tag/2.5.1 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-21236?
- CVE-2021-21236 is a medium-severity vulnerability in Kozea Cairosvg, classified under Uncontrolled Resource Consumption. CVSS score: 5.7/10. Published 2021-01-06.
- How severe is CVE-2021-21236?
- Medium severity. CVSS v3 base score is 5.7 out of 10.
- Is CVE-2021-21236 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.