VDB
Sign up
—

PYSEC-2019-117

Quick fix

PYSEC-2019-117 — reportlab: upgrade to the fixed version with the command below.

pip install --upgrade 'reportlab>=3.5.28'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/reportlab
Introduced in: 0Fixed in: 3.5.28
Fixpip install --upgrade 'reportlab>=3.5.28'

References