BSD Ports

py-svglib -- Multiple vulnerabilities

· VuXML entry

Dinu Gherman reports: The SVG <path> elliptical-arc parser in "svglib.utils.split_arc_values()" builds a regex with multiple empty-matchable float groups and two mandatory flag groups, then runs it under "re.finditer()". An arc argument that is a long run of digits (containing no 0/1 where a flag is expected) triggers catastrophic backtracking whose cost grows exponentially (~2x per ~4 extra digits). Reachable from …

Affected versions

By system

0 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDconverters/py-svglib2.4.0 fixed
NetBSDgraphics/py-svglib2.2.0 not listed
DragonFlyconverters/py-svglib2.3.2 fixed (15 days after)