Ubuntu CVE Tracker
UBUNTU-CVE-2023-27586
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | cairosvg | All versions before 1.0.19-1ubuntu0.1~esm1 (fixed in 1.0.19-1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | cairosvg | All versions before 1.0.20-1ubuntu0.1~esm1 (fixed in 1.0.20-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | cairosvg | All versions before 2.4.2-1ubuntu0.1~esm1 (fixed in 2.4.2-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | cairosvg | All versions before 2.5.2-1ubuntu0.1~esm1 (fixed in 2.5.2-1ubuntu0.1~esm1) |
| Ubuntu:25.10 | cairosvg | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2023-27586
- https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255
- https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv
- https://github.com/Kozea/CairoSVG/releases/tag/2.7.0
- https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255
- https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53
- https://www.cve.org/CVERecord?id=CVE-2023-27586
- https://ubuntu.com/security/notices/USN-9096-1