CVE-2021-21236
Summary
| CVE | CVE-2021-21236 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-01-06 17:15:00 UTC |
| Updated | 2021-01-13 15:43:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Release 2.5.1 · Kozea/CairoSVG · GitHub |
MISC |
github.com |
Release Notes, Third Party Advisory |
| CairoSVG · PyPI |
MISC |
pypi.org |
Product, Third Party Advisory |
| Regular Expression Denial of Service (REDoS) · Advisory · Kozea/CairoSVG · GitHub |
CONFIRM |
github.com |
Exploit, Third Party Advisory |
| Merge pull request from GHSA-hq37-853p-g5cf · Kozea/CairoSVG@cfc9175 · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 180028 Debian Security Update for cairosvg (CVE-2021-21236)
- 503221 Alpine Linux Security Update for py3-cairosvg
- 506170 Alpine Linux Security Update for py3-cairosvg
- 983105 Python (pip) Security Update for CairoSVG (GHSA-hq37-853p-g5cf)