CVE-2019-17626
CRITICAL9.8EPSS 16.8%python-reportlab - security update
Published: 5/24/2022Modified: 4/28/2026
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.
Affected packages (5)
- Debian/python-reportlabfrom 0, < 3.5.34-1
- Debian/python-reportlabfrom 0, < 3.1.8-3+deb8u2
- Debian/python-reportlabfrom 0, < 3.3.0-2+deb9u1
- PyPI/reportlabfrom 0, < 3.5.28
- PyPI/reportlabfrom 0, < 3.5.28
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (27)
- ADVISORYhttps://github.com/advisories/GHSA-qpg2-vx7j-3869
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-17626
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-17626
- PATCHhttps://github.com/MrBitBucket/reportlab-mirror
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
- WEBhttps://access.redhat.com/errata/RHSA-2020:0195
- WEBhttps://access.redhat.com/errata/RHSA-2020:0197
- WEBhttps://access.redhat.com/errata/RHSA-2020:0201
- WEBhttps://access.redhat.com/errata/RHSA-2020:0230
- WEBhttps://access.redhat.com/security/cve/cve-2019-17626
- WEBhttps://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- WEBhttps://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml
- WEBhttps://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3
- WEBhttps://lists.debian.org/debian-lts-announce/2020/02/msg00019.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
- WEBhttps://security.gentoo.org/glsa/202007-35
- WEBhttps://security.netapp.com/advisory/ntap-20240719-0006
- WEBhttps://usn.ubuntu.com/4273-1
- WEBhttps://usn.ubuntu.com/4273-1/
- WEBhttps://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- WEBhttps://www.debian.org/security/2020/dsa-4663