Upstream information

CVE-2021-21236 at MITRE

Description

CairoSVG is a Python (pypi) package. CairoSVG is an SVG converter based on Cairo. In CairoSVG before version 2.5.1, there is a regular expression denial of service (REDoS) vulnerability. When processing SVG files, the python package CairoSVG uses two regular expressions which are vulnerable to Regular Expression Denial of Service (REDoS). If an attacker provides a malicious SVG, it can make cairosvg get stuck processing the file for a very long time. This is fixed in version 2.5.1. See Referenced GitHub advisory for more information.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1180648 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Python 3 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python311-CairoSVG >= 2.7.1-150400.9.3.8
Patchnames:
SUSE Linux Enterprise Module for Python 3 15 SP6 GA python311-CairoSVG-2.7.1-150400.9.3.8
SUSE Package Hub 15 SP4
  • python3-CairoSVG >= 2.5.2-bp154.2.3.1
Patchnames:
openSUSE-2023-272
SUSE Package Hub 15 SP5
  • python3-CairoSVG >= 2.5.2-bp155.3.3.1
Patchnames:
openSUSE-2023-260
openSUSE Leap 15.4
  • python3-CairoSVG >= 2.5.2-bp154.2.3.1
Patchnames:
openSUSE-2023-272
openSUSE Leap 15.5
  • python3-CairoSVG >= 2.5.2-bp155.3.3.1
Patchnames:
openSUSE-2023-260
openSUSE Tumbleweed
  • python310-CairoSVG >= 2.7.1-1.1
  • python311-CairoSVG >= 2.7.1-1.1
  • python39-CairoSVG >= 2.7.1-1.1
Patchnames:
openSUSE-Tumbleweed-2024-13218


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 15 SP5 python-CairoSVG Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP4 python-CairoSVG Released


SUSE Timeline for this CVE

CVE page created: Wed Jan 6 22:04:08 2021
CVE page last modified: Wed Oct 30 11:41:54 2024