CVE-2019-17626
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 9.52% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.4% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-10-16 11:29Z7 YR AGO
- Last updated
- 2024-08-05 01:47Z2 YR AGO
- Reserved
- 2019-10-16
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.1
- Document digest
- 169197807f3d6d1aaf2aae1c930876f5ef4ae850e0daa4189501ea97f446a20f
05 Affected products
06 References
- bitbucket.orghttps://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- bitbucket.orghttps://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- access.redhat.comRHSA-2020:0197https://access.redhat.com/errata/RHSA-2020:0197
- access.redhat.comRHSA-2020:0195https://access.redhat.com/errata/RHSA-2020:0195
- lists.fedoraproject.orgFEDORA-2020-d2fb999600https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
- access.redhat.comRHSA-2020:0230https://access.redhat.com/errata/RHSA-2020:0230
- access.redhat.comRHSA-2020:0201https://access.redhat.com/errata/RHSA-2020:0201
- lists.fedoraproject.orgFEDORA-2020-f3e0ba2f79https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
- lists.opensuse.orgopenSUSE-SU-2020:0160http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
- usn.ubuntu.comUSN-4273-1https://usn.ubuntu.com/4273-1/
- lists.debian.org[debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security updatehttps://lists.debian.org/debian-lts-announce/2020/02/msg00019.html
- www.debian.orgDSA-4663https://www.debian.org/security/2020/dsa-4663
- security.gentoo.orgGLSA-202007-35https://security.gentoo.org/glsa/202007-35
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240719-0006/
07 Fixed in
Debian 12
- python-reportlab Fixed in 3.5.34-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-reportlab Fixed in 3.5.34-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-reportlab Fixed in 3.5.34-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- python-reportlab Fixed in 3.3.0-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python-reportlab Fixed in 3.4.0-3ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.