PT-2019-20135

Published

2019-10-16

·

Updated

2019-10-16

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

Name of the Vulnerable Software and Affected Versions ReportLab versions prior to 3.5.27
Description The issue allows remote code execution due to the use of eval() in the toColor() function within colors.py. This can be exploited by crafting a malicious XML document that includes arbitrary Python code, for example, using the <span color=" tag followed by the malicious code.
Recommendations For ReportLab versions prior to 3.5.27, update to version 3.5.27 or later to resolve the issue. As a temporary workaround, consider restricting the use of the toColor() function or disabling the evaluation of user-supplied input in the colors.py module until a patch is applied. Avoid using the eval() function with untrusted input to minimize the risk of exploitation.
Vendors
Affected products
Related identifiers
PYSEC-2019-47
Found an issue in the description? Have something to add? Feel free to write us 👾