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.
Published: 2021-01-06
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-0039 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.
Github GHSA Github GHSA GHSA-hq37-853p-g5cf Regular Expression Denial of Service in CairoSVG
History

No history.

Subscriptions

Courtbouillon Cairosvg
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-03T18:09:15.166Z

Reserved: 2020-12-22T00:00:00.000Z

Link: CVE-2021-21236

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-06T17:15:23.733

Modified: 2024-11-21T05:47:50.170

Link: CVE-2021-21236

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses