CVE-2021-21236
Regular Expression Denial of Service in CairoSVG
7.5
HIGH
CVSS 3.1
EPSS 1.5%
描述
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.
如何修補 CVE-2021-21236
要修補 CVE-2021-21236,請將受影響套件升級到下列已修補版本。
- —升級至 2.5.0-1.1 或更新版本
- —升級至 2.5.1 或更新版本
- —升級至 cfc9175e590531d90384aa88845052de53d94bf3 或更新版本
CVE-2021-21236 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 2.5.0-1.1
- from 0, < 2.5.1
- from 0, < cfc9175e590531d90384aa88845052de53d94bf3 | from 0, < 2.5.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |