CVE-2023-27586

NameCVE-2023-27586
DescriptionCairoSVG 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5382-1
Debian Bugs1033295

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cairosvg (PTS)bullseye2.5.0-1.1+deb11u2fixed
bullseye (security)2.5.0-1.1+deb11u1fixed
bookworm2.5.2-1.1+deb12u1fixed
sid, trixie2.7.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cairosvgsourcebullseye2.5.0-1.1+deb11u1DSA-5382-1
cairosvgsource(unstable)2.5.2-1.11033295

Notes

[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)

Search for package or bug name: Reporting problems