cairosvg: CVE-2021-21236: Regular Expression Denial of Service (REDoS)

Related Vulnerabilities: CVE-2021-21236  

Debian Bug report logs - #979597
cairosvg: CVE-2021-21236: Regular Expression Denial of Service (REDoS)

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Fri, 8 Jan 2021 20:42:01 UTC

Severity: important

Tags: security, upstream

Found in version cairosvg/2.5.0-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#979597; Package src:cairosvg. (Fri, 08 Jan 2021 20:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>. (Fri, 08 Jan 2021 20:42:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cairosvg: CVE-2021-21236: Regular Expression Denial of Service (REDoS)
Date: Fri, 08 Jan 2021 21:39:43 +0100
Source: cairosvg
Version: 2.5.0-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for cairosvg.

CVE-2021-21236[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-21236
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21236
[1] https://github.com/Kozea/CairoSVG/security/advisories/GHSA-hq37-853p-g5cf
[2] https://github.com/Kozea/CairoSVG/commit/063185b60588a41d4df661ad70f9f7b699901abc

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 9 12:48:33 2021; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.