4.3
CVSSv2

CVE-2021-21236

Published: 06/01/2021 Updated: 13/01/2021
CVSS v2 Base Score: 4.3 | Impact Score: 2.9 | Exploitability Score: 8.6
CVSS v3 Base Score: 5.5 | Impact Score: 3.6 | Exploitability Score: 1.8
VMScore: 384
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P

Vulnerability Summary

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.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

courtbouillon cairosvg

Vendor Advisories

Debian Bug report logs - #979597 cairosvg: CVE-2021-21236: Regular Expression Denial of Service (REDoS) Package: src:cairosvg; Maintainer for src:cairosvg is Debian Python Team <team+python@trackerdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Fri, 8 Jan 2021 20:42:01 UTC Severity: importa ...
In python-cairosvg before version 251, 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 python-cairosvg get stuck proce ...