CVE-2023-27586
CRITICAL9.9EPSS 0.09%cairosvg - security update
Published: 3/20/2023Modified: 4/28/2026
Description
CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to version 2.7.0, Cairo can send requests to external hosts when processing SVG files. A malicious actor could send a specially crafted SVG file that allows them to perform a server-side request forgery or denial of service. Version 2.7.0 disables CairoSVG's ability to access other files online by default.
Affected packages (4)
- Debian/cairosvgfrom 0, < 2.5.0-1.1+deb11u1
- Debian/cairosvgfrom 0, < 2.5.0-1.1+deb11u1
- PyPI/cairosvgfrom 0, < 2.7.0
- PyPI/cairosvgfrom 0, < 12d31c653c0254fa9d9853f66b04ea46e7397255, < 33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53 | from 0, < 2.7.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:L |
| osv | CVSS 3.1 | CRITICAL9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-27586
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-27586
- PATCHhttps://github.com/Kozea/CairoSVG
- WEBhttps://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255
- WEBhttps://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53
- WEBhttps://github.com/Kozea/CairoSVG/releases/tag/2.7.0
- WEBhttps://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/cairosvg/PYSEC-2023-9.yaml