Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764173 (CVE-2021-21236) - <media-gfx/cairosvg-2.5.1: regex DoS vulnerability (CVE-2021-21236)
Summary: <media-gfx/cairosvg-2.5.1: regex DoS vulnerability (CVE-2021-21236)
Alias: CVE-2021-21236
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [noglsa cleanup]
Depends on: 764209
  Show dependency tree
Reported: 2021-01-06 20:23 UTC by John Helmert III
Modified: 2021-01-26 00:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
nattka: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-01-06 20:23:24 UTC
CVE-2021-21236 (

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.

Please bump, thanks!
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-06 20:28:52 UTC
I was about to bump it anyway, so let's fire the stablereq when it goes n ;-).
Comment 2 NATTkA bot gentoo-dev 2021-01-06 20:32:53 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-01-06 21:25:01 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-01-06 23:24:53 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-01-06 23:36:57 UTC
All sanity-check issues have been resolved
Comment 6 Agostino Sarubbo gentoo-dev 2021-01-21 07:41:21 UTC
amd64 stable
Comment 7 Agostino Sarubbo gentoo-dev 2021-01-24 12:11:13 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.