Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-21236— Regular Expression Denial of Service in CairoSVG

Quick assessment

Affected
Kozea CairoSVG
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Kozea CairoSVG是Kozea社区的一个基于Python可将SVG文件转换为为PDF,EPS,PS和PNG文件的软件。 CairoSVG 2.5.1之前版本存在资源管理错误漏洞,攻击者可利用该漏洞提供恶意的SVG,导致程序很长一段时间内无法处理该文件。

CVSS 5.7 · Medium EPSS 1.47% · P71

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21236

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Regular Expression Denial of Service in CairoSVG
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Kozea CairoSVG 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Kozea CairoSVG是Kozea社区的一个基于Python可将SVG文件转换为为PDF,EPS,PS和PNG文件的软件。 CairoSVG 2.5.1之前版本存在资源管理错误漏洞,攻击者可利用该漏洞提供恶意的SVG,导致程序很长一段时间内无法处理该文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Kozea CairoSVG < 2.5.1 -

II. Public POCs for CVE-2021-21236

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21236

登录查看更多情报信息。

Patches & Fixes for CVE-2021-21236 (1)

Vendor Advisories for CVE-2021-21236 (1)

Other References for CVE-2021-21236 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21236

No comments yet


Leave a comment