PYSEC-2019-47
not scored yetwithdrawn / rejectedReportLab 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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | reportlab | < 3.5.28 | 3.5.28 |
References
- https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code · WEB
- https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md · WEB
- https://access.redhat.com/errata/RHSA-2020:0197 · WEB
- https://access.redhat.com/errata/RHSA-2020:0195 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/ · WEB
- https://access.redhat.com/errata/RHSA-2020:0201 · WEB
- https://access.redhat.com/errata/RHSA-2020:0230 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/ · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html · WEB
- https://usn.ubuntu.com/4273-1/ · WEB
- https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html · WEB
- https://www.debian.org/security/2020/dsa-4663 · WEB
- https://security.gentoo.org/glsa/202007-35 · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Oct 2019)