CVE-2023-27586
Courtbouillon Cairosvg vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Cairosvg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Courtbouillon Cairosvg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv · Vendor Advisory
- github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255 · Patch
- github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53 · Patch
- github.com/Kozea/CairoSVG/releases/tag/2.7.0
- nvd.nist.gov/vuln/detail/CVE-2023-27586
- github.com/pypa/advisory-database/tree/main/vulns/cairosvg/PYSEC-2023-9.yaml
- github.com/advisories/GHSA-rwmf-w63j-p7gv
- nvd.nist.gov/vuln/detail/CVE-2023-27586
- cve.org/CVERecord?id=CVE-2023-27586
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.