CVE-2019-17626 json
XML Injection in ReportLab
published 7y ago modified 4mo ago also GHSA-qpg2-vx7j-3869 , PYSEC-2019-117 , EUVD-2019-0122
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.5%
- EPSS 9.5% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi reportlab 3.5.28
- python-reportlab Debian 14, Debian 13, Debian 12 3.5.34-1
debian advisories DEBIAN-CVE-2019-17626
- python-reportlab Ubuntu 16.04 LTS 3.3.0-1ubuntu0.1
- python-reportlab Ubuntu 18.04 LTS 3.4.0-3ubuntu0.1
ubuntu advisories UBUNTU-CVE-2019-17626
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-reportlab RHEL 8 3.4.0-6.el8_1.2
- python3-reportlab RHEL 8 3.4.0-6.el8_1.2
- python-reportlab RHEL 7 2.5-9.el7_7.1
- python-reportlab RHEL 6 2.3-3.el6_10.1
- python-reportlab RHEL 8.0 E4S 3.4.0-6.el8_0.2
- python3-reportlab RHEL 8.0 E4S 3.4.0-6.el8_0.2
red hat advisories RHSA-2020:0230RHSA-2020:0201RHSA-2020:0195RHSA-2020:0197
- python-reportlab SLE Workstation Extension 12 SP5, SLE Workstation Extension 12 SP4 2.7-3.3.1
suse advisories SUSE-SU-2020:0324-1
- python-reportlab openSUSE Tumbleweed 4.5.1-1.2
- python-reportlab openSUSE Tumbleweed 4.0.7-1.3
- python-reportlab openSUSE Leap 15.1 3.4.0-lp151.3.3.1
opensuse advisories openSUSE-SU-2026:12037-1openSUSE-SU-2024:14160-1openSUSE-SU-2020:0160-1
Is CVE-2019-17626 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-17626 updated cvss 9.8
python-reportlab: code injection in colors.py allows attacker to execute code
-
Red Hat Quay 3 quayaffected: workaround, no fix planned “No known mitigation available.”
-
Red Hat Enterprise Linux AppStream (v. 8) python-reportlab 3.4.0-6.el8_1.2, python3-reportlab 3.4.0-6.el8_1.2fixed: vendor fix “No known mitigation available.” RHSA-2020:0201
-
Red Hat Enterprise Linux AppStream E4S (v. 8.0) python-reportlab 3.4.0-6.el8_0.2, python3-reportlab 3.4.0-6.el8_0.2fixed: vendor fix “No known mitigation available.” RHSA-2020:0230
-
Red Hat Enterprise Linux Client (v. 7) python-reportlab 2.5-9.el7_7.1 Red Hat Enterprise Linux Client Optional (v. 7) python-reportlab-docs 2.5-9.el7_7.1, python-reportlab-debuginfo 2.5-9.el7_7.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
-
Red Hat Enterprise Linux Desktop (v. 6) python-reportlab 2.3-3.el6_10.1 Red Hat Enterprise Linux Desktop Optional (v. 6) python-reportlab-docs 2.3-3.el6_10.1 Red Hat Enterprise Linux Server (v. 6) python-reportlab 2.3-3.el6_10.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
-
Red Hat Enterprise Linux Server (v. 7) python-reportlab 2.5-9.el7_7.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
-
Red Hat Enterprise Linux Server Optional (v. 6) python-reportlab-docs 2.3-3.el6_10.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
-
Red Hat Enterprise Linux Server Optional (v. 7) python-reportlab-docs 2.5-9.el7_7.1, python-reportlab-debuginfo 2.5-9.el7_7.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
show 4 moreshow fewer
-
Red Hat Enterprise Linux Workstation (v. 6) python-reportlab 2.3-3.el6_10.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
-
Red Hat Enterprise Linux Workstation (v. 7) python-reportlab 2.5-9.el7_7.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-reportlab-docs 2.3-3.el6_10.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
-
Red Hat Enterprise Linux Workstation Optional (v. 7) python-reportlab-docs 2.5-9.el7_7.1, python-reportlab-debuginfo 2.5-9.el7_7.1fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
9.53% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bitbucket.org https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | reportlab | <3.5.28 |
3.5.28 |
Affected products
- reportlab reportlab
Classification
- Weakness
-
- CWE-91 XML Injection
References
-
bitbucket.org
/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
web, exploit, issue-tracking, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0197
vendor-advisory, web, advisory
-
access.redhat.com
/errata/RHSA-2020:0195
vendor-advisory, web, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2020:0230
vendor-advisory, web, advisory
-
access.redhat.com
/errata/RHSA-2020:0201
vendor-advisory, web, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-02/msg00002.html
vendor-advisory, web
-
usn.ubuntu.com
/4273-1/
vendor-advisory, web
-
debian.org
/security/2020/dsa-4663
vendor-advisory, web, advisory
-
security.gentoo.org
/glsa/202007-35
vendor-advisory, web, advisory
-
bitbucket.org
/rptlab/reportlab/src/default/CHANGES.md
web, release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/02/msg00019.html
mailing-list, web
- security.netapp.com /advisory/ntap-20240719-0006/
-
nvd.nist.gov
/vuln/detail/CVE-2019-17626
advisory
-
web.archive.org
/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
web
-
usn.ubuntu.com
/4273-1
web
-
security.netapp.com
/advisory/ntap-20240719-0006
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
web
-
hg.reportlab.com
/hg-public/reportlab/rev/51a521ad7dd3
web
-
github.com
/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml
web
-
github.com
/advisories/GHSA-qpg2-vx7j-3869
advisory
-
github.com
/MrBitBucket/reportlab-mirror
package
-
access.redhat.com
/security/cve/cve-2019-17626
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
web
Sources
- CVE List CVE-2019-17626
- GitHub Advisory GHSA-qpg2-vx7j-3869
- NVD CVE-2019-17626
- OSV PYSEC-2019-117
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.