{"id":"MGASA-2021-0149","summary":"Updated python-cairosvg packages fix security vulnerability","details":"When processing SVG files, the python package CairoSVG uses two regular\nexpressions which are vulnerable to Regular Expression Denial of Service\n(REDoS). If an attacker provides a malicious SVG, it can make cairosvg\nget stuck processing the file for a very long time (CVE-2021-21236).\n","modified":"2026-04-16T00:09:10.713516989Z","published":"2021-03-21T10:43:43Z","upstream":["CVE-2021-21236"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0149.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=28122"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hq37-853p-g5cf"}],"affected":[{"package":{"name":"python-cairosvg","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/python-cairosvg?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1-1.1.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0149.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}