First published: Wed Oct 16 2019(Updated: )
A vulnerability was found in 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. Reference: <a href="https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code">https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code</a> <a href="https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md">https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md</a>
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
debian/python-reportlab | <=3.5.23-1<=3.1.8-3+deb8u1<=3.5.13-1<=3.5.28-1<=3.3.0-2 | 3.5.34-1 3.5.13-1+deb10u1 3.3.0-2+deb9u1 |
Reportlab Reportlab | <=3.5.26 | |
pip/reportlab | <3.5.28 | 3.5.28 |
debian/python-reportlab | 3.5.59-2 3.5.59-2+deb11u1 3.6.12-1 3.6.12-1+deb12u1 4.2.5-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-17626 is a vulnerability in ReportLab through 3.5.26 that allows remote code execution.
CVE-2019-17626 has a severity score of 9.8, which is considered critical.
CVE-2019-17626 allows remote code execution through the 'toColor(eval(arg))' function in colors.py when processing a crafted XML document.
CVE-2019-17626 affects ReportLab versions up to and including 3.5.26.
To fix CVE-2019-17626, update ReportLab to version 3.5.28 or later.