Server-Side Request Forgery (SSRF) in CairoSVG - CVE-2023-27586

 

Server-Side Request Forgery (SSRF) in CairoSVG - CVE-2023-27586

Published: March 20, 2023


Vulnerability identifier: #VU73832
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2023-27586
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input when processing SVG files. A remote attacker can upload a malicious SVG file and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.


Affected software

CairoSVG
Debian Linux
Fedora
cairosvg (Debian package)
python-cairosvg

How to mitigate CVE-2023-27586

Install updates from vendor's website.

CairoSVG - update to 2.7.0
cairosvg (Debian package) - update to 2.5.0-1.1+deb11u1
python-cairosvg - addressed in versions 2.7.0-1.el8, 2.7.0-1.el9, 2.7.0-1.fc36, 2.7.0-1.fc37, 2.7.0-1.fc38

External References

Related Security Bulletins