Server-Side Request Forgery (SSRF) Affecting py3-cairosvg package, versions <2.7.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE318-PY3CAIROSVG-5516900
  • published10 May 2023
  • disclosed20 Mar 2023

Introduced: 20 Mar 2023

CVE-2023-27586  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Alpine:3.18 py3-cairosvg to version 2.7.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-cairosvg package and not the py3-cairosvg package as distributed by Alpine. See How to fix? for Alpine:3.18 relevant fixed versions and status.

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.

CVSS Scores

version 3.1