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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, 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) | buster, buster (security) | 3.5.13-1+deb10u1 | fixed |
bullseye | 3.5.59-2 | fixed | |
bookworm, sid | 3.6.12-1 | 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.