| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2112-1, DSA-4663-1 |
| Debian Bugs | 942763 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| python-reportlab (PTS) | bookworm, bookworm (security) | 3.6.12-1+deb12u1 | fixed |
| trixie | 4.3.1-1 | fixed | |
| forky, sid | 5.0.0-4 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| python-reportlab | source | jessie | 3.1.8-3+deb8u2 | DLA-2112-1 | ||
| python-reportlab | source | stretch | 3.3.0-2+deb9u1 | DSA-4663-1 | ||
| python-reportlab | source | buster | 3.5.13-1+deb10u1 | DSA-4663-1 | ||
| python-reportlab | source | (unstable) | 3.5.34-1 | 942763 |
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.