| Name | CVE-2023-27586 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-5382-1 |
| Debian Bugs | 1033295 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| cairosvg (PTS) | bullseye | 2.5.0-1.1+deb11u2 | fixed |
| bullseye (security) | 2.5.0-1.1+deb11u1 | fixed | |
| bookworm | 2.5.2-1.1+deb12u1 | fixed | |
| trixie | 2.7.1-2 | fixed | |
| forky, sid | 2.8.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| cairosvg | source | bullseye | 2.5.0-1.1+deb11u1 | DSA-5382-1 | ||
| cairosvg | source | (unstable) | 2.5.2-1.1 | 1033295 |
[buster] - cairosvg <ignored> (Minor issue; fix would require backporting entire --unsafe mechanism)
https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255 (2.7.0)
https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv
Introduced in https://github.com/Kozea/CairoSVG/commit/1ee0889f4015ebaddcf9976d43222e673155797c (0.3)