Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21236

5.7 · MEDIUM
Published Jan 6, 2021 courtbouillon CWE-400 EPSS 1.47% (72th pctl)

Overview

CVE-2021-21236 is a medium-severity vulnerability affecting courtbouillon cairosvg. It was published on January 6, 2021 and has a CVSS 3.1 base score of 5.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.7, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from courtbouillon. Update cairosvg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
courtbouillon cairosvg >= 0, < 2.5.1 Affected

Frequently Asked Questions

What is CVE-2021-21236?

CVE-2021-21236 is a medium-severity vulnerability affecting courtbouillon cairosvg. It was published on January 6, 2021 and has a CVSS 3.1 base score of 5.7 (MEDIUM).

How severe is CVE-2021-21236?

This vulnerability has a CVSS 3.1 base score of 5.7, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-21236?

Check the references section for vendor advisories and patches from courtbouillon. Update cairosvg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21236?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21236 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.