SSRF in Courtbouillon Cairosvg
CVE-2023-27586
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L.
EPSS exploit prediction
EPSS 0.007, 54.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Courtbouillon Cairosvg
- Kozea Cairosvg — versions < 2.7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (karimhabush/cyberowl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv (Vendor Advisory)
- https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255 (Patch)
- https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53 (Patch)
- https://github.com/Kozea/CairoSVG/releases/tag/2.7.0 (Release Notes)