CVE-2023-27586 CairoSVG improperly processes SVG files loaded from external resources
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2023-27586?
CVE-2023-27586 is a critical vulnerability in Kozea CairoSVG, published on 20 Mar 2023.
Official 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.
Which versions are affected by CVE-2023-27586?
3 open source packages ship an affected version, including cairosvg and CairoSVG. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cairosvg PyPI | All versions | 2.7.0 |
cairosvg PyPI | All versions | 2.7.0 |
CairoSVG PyPI | All versions | 2.7.0 |
Products include Courtbouillon Cairosvg.
How do I fix CVE-2023-27586?
Upgrade cairosvg to 2.7.0 or later.
Is CVE-2023-27586 being exploited?
There is no known exploitation of CVE-2023-27586 in the wild and no public exploit code.
Other vulnerabilities in Kozea CairoSVG
Sources
Also known as DEBIAN-CVE-2023-27586, DSA-5382-1, GHSA-rwmf-w63j-p7gv, MGASA-2023-0126, PYSEC-2023-9, UBUNTU-CVE-2023-27586.