XPath Injection in Reportlab
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.102 (95.5th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.102 · newest: 0.102 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code (Exploit, Third Party Advisory, Issue Tracking)
- bitbucket.org/rptlab/reportlab/src/default/CHANGES.md (Third Party Advisory, Release Notes)
- access.redhat.com/errata/RHSA-2020:0197 (vendor-advisory)
- access.redhat.com/errata/RHSA-2020:0195 (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- access.redhat.com/errata/RHSA-2020:0230 (vendor-advisory)
- access.redhat.com/errata/RHSA-2020:0201 (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html (vendor-advisory)
- usn.ubuntu.com/4273-1/ (vendor-advisory)
Frequently asked questions
- What is CVE-2019-17626?
- CVE-2019-17626 is a critical-severity vulnerability in Reportlab, classified under XML Injection (Blind XPath Injection). CVSS score: 9.8/10. Published 2019-10-16.
- How severe is CVE-2019-17626?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-17626 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.