Name | CVE-2019-17626 |
Description | ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code. |
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-2112-1, DSA-4663-1 |
Debian Bugs | 942763 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-reportlab (PTS) | bullseye | 3.5.59-2 | fixed |
| bullseye (security) | 3.5.59-2+deb11u1 | fixed |
| bookworm, bookworm (security) | 3.6.12-1+deb12u1 | fixed |
| sid, trixie | 4.2.5-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
Minimal patch in https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code#comment-55887892
but upstream did make the bugreport private.