Skip to content

CVE-2019-17626 XML Injection in ReportLab

CriticalCVSS 9.8 EPSS 9.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

7 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/python-reportlab(Debian 12) < 3.5.34-1 3.5.34-1 Fixed
debian/python-reportlab(Debian 13) < 3.5.34-1 3.5.34-1 Fixed
debian/python-reportlab(Debian 14) < 3.5.34-1 3.5.34-1 Fixed
pypi reportlab(PyPI) < 3.5.28; = 2.0; = 2.3; = 2.4 +29 more 3.5.28 Fixed
reportlab <= 3.5.26 after 3.5.26 Fixed
ubuntu/python-reportlab(Ubuntu 16.04) < 3.3.0-1ubuntu0.1; = 3.2.0-1build1; = 3.2.0-1build2; = 3.3.0-1 3.3.0-1ubuntu0.1 Fixed
ubuntu/python-reportlab(Ubuntu 18.04) < 3.4.0-3ubuntu0.1; = 3.4.0-3build1 3.4.0-3ubuntu0.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi reportlab(PyPI) < 3.5.28 3.5.28
pypi reportlab(PyPI) = 2.0 No fix listed
pypi reportlab(PyPI) = 2.3 No fix listed
pypi reportlab(PyPI) = 2.4 No fix listed
pypi reportlab(PyPI) = 2.5 No fix listed
pypi reportlab(PyPI) = 2.6 No fix listed
pypi reportlab(PyPI) = 2.7 No fix listed
pypi reportlab(PyPI) = 3.0 No fix listed
pypi reportlab(PyPI) = 3.1.44 No fix listed
pypi reportlab(PyPI) = 3.1.8 No fix listed
pypi reportlab(PyPI) = 3.2.0 No fix listed
pypi reportlab(PyPI) = 3.3.0 No fix listed
pypi reportlab(PyPI) = 3.4.0 No fix listed
pypi reportlab(PyPI) = 3.5.0 No fix listed
pypi reportlab(PyPI) = 3.5.1 No fix listed
pypi reportlab(PyPI) = 3.5.10 No fix listed
pypi reportlab(PyPI) = 3.5.11 No fix listed
pypi reportlab(PyPI) = 3.5.12 No fix listed
pypi reportlab(PyPI) = 3.5.13 No fix listed
pypi reportlab(PyPI) = 3.5.16 No fix listed
pypi reportlab(PyPI) = 3.5.17 No fix listed
pypi reportlab(PyPI) = 3.5.18 No fix listed
pypi reportlab(PyPI) = 3.5.19 No fix listed
pypi reportlab(PyPI) = 3.5.2 No fix listed
pypi reportlab(PyPI) = 3.5.20 No fix listed
Show 18 more
ProductAffected versionsFixed in
pypi reportlab(PyPI) = 3.5.21 No fix listed
pypi reportlab(PyPI) = 3.5.23 No fix listed
pypi reportlab(PyPI) = 3.5.26 No fix listed
pypi reportlab(PyPI) = 3.5.4 No fix listed
pypi reportlab(PyPI) = 3.5.5 No fix listed
pypi reportlab(PyPI) = 3.5.6 No fix listed
pypi reportlab(PyPI) = 3.5.8 No fix listed
pypi reportlab(PyPI) = 3.5.9 No fix listed
debian/python-reportlab(Debian:12) < 3.5.34-1 3.5.34-1
debian/python-reportlab(Debian:13) < 3.5.34-1 3.5.34-1
debian/python-reportlab(Debian:14) < 3.5.34-1 3.5.34-1
reportlab <= 3.5.26 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) < 3.3.0-1ubuntu0.1 3.3.0-1ubuntu0.1
ubuntu/python-reportlab(Ubuntu:16.04) = 3.2.0-1build1 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.2.0-1build2 No fix listed
ubuntu/python-reportlab(Ubuntu:16.04) = 3.3.0-1 No fix listed
ubuntu/python-reportlab(Ubuntu:18.04) < 3.4.0-3ubuntu0.1 3.4.0-3ubuntu0.1
ubuntu/python-reportlab(Ubuntu:18.04) = 3.4.0-3build1 No fix listed

References