Bug 2180270 (CVE-2023-27586)

Summary: CVE-2023-27586 python-cairosvg: SSRF & DOS vulnerability
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-cairosvg 2.7.0 Doc Type: ---
Doc Text:
A specially crafted SVG file that loads an external resource from a URL. Remote attackers could exploit this vulnerability to cause a scan of an organization's internal resources or a DDOS attack on external resources. It looks like this bug can affect websites and cause request forgery on the server.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-21 08:31:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2180271, 2180272    
Bug Blocks:    

Description Sandipan Roy 2023-03-21 04:55:50 UTC
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.

https://github.com/Kozea/CairoSVG/releases/tag/2.7.0
https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv
https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255
https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53

Comment 1 Sandipan Roy 2023-03-21 04:56:12 UTC
Created python-cairosvg tracking bugs for this issue:

Affects: epel-all [bug 2180271]
Affects: fedora-all [bug 2180272]

Comment 2 Product Security DevOps Team 2023-03-21 08:31:09 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.