CVE-2019-17626
Reportlab vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Reportlab. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Reportlab runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code · Exploit
- bitbucket.org/rptlab/reportlab/src/default/CHANGES.md · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
- access.redhat.com/errata/RHSA-2020:0195
- access.redhat.com/errata/RHSA-2020:0197
- access.redhat.com/errata/RHSA-2020:0201
- access.redhat.com/errata/RHSA-2020:0230
- lists.debian.org/debian-lts-announce/2020/02/msg00019.html
- nvd.nist.gov/vuln/detail/CVE-2019-17626
- cve.org/CVERecord?id=CVE-2019-17626
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.