Name | CVE-2019-6245 |
Description | An issue was discovered in Anti-Grain Geometry (AGG) 2.4 as used in SVG++ (aka svgpp) 1.2.3. In the function agg::cell_aa::not_equal, dx is assigned to (x2 - x1). If dx >= dx_limit, which is (16384 << poly_subpixel_shift), this function will call itself recursively. There can be a situation where (x2 - x1) is always bigger than dx_limit during the recursion, leading to continual stack consumption. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1656-1, DLA-2872-1, DLA-3376-1 |
Debian Bugs | 919321, 919322 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
agg (PTS) | jessie, jessie (lts) | 2.5+dfsg1-9+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 2.5+dfsg1-11+deb9u1 | fixed |
| buster | 1:2.6.0-r132+dfsg1-3 | fixed |
| bullseye, bookworm | 1:2.6.1-r134+dfsg1-2 | fixed |
| sid, trixie | 1:2.7.0.r145+dfsg-1 | fixed |
svgpp (PTS) | buster (security), buster, buster (lts) | 1.2.3+dfsg1-6+deb10u1 | fixed |
| bullseye | 1.3.0+dfsg1-4 | vulnerable |
| sid, trixie, bookworm | 1.3.0+dfsg1-6 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
https://github.com/svgpp/svgpp/issues/70
Fixed in src:agg with: https://sourceforge.net/p/agg/svn/119/
and possibly already fixed with the inclusion of 05-fix-recursion-crash.patch
in 2.5+dfsg1-3.
No security impact on svgpp, only used to build examples, see #921097