Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-17626 EUVD-2019-0122GHSA-qpg2-vx7j-3869PYSEC-2019-117

XML Injection in ReportLab

Published Oct 16, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-reportlab 3.5.34-1 —
Debian 13 python-reportlab 3.5.34-1 —
Debian 12 python-reportlab 3.5.34-1 —
Debian 10 python-reportlab 3.5.13-1+deb10u1 DSA-4663-1
Debian 9 python-reportlab 3.3.0-2+deb9u1 DSA-4663-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 python-reportlab 3.1.8-3+deb8u2 DLA-2112-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-reportlab 3.4.0-3ubuntu0.1 USN-4273-1
Ubuntu 16.04 LTS python-reportlab 3.3.0-1ubuntu0.1 USN-4273-1
ReleasePackageFixed inAdvisory
RHEL 8 python-reportlab +1 3.4.0-6.el8_1.2 RHSA-2020:0201
RHEL 7 python-reportlab +1 2.5-9.el7_7.1 RHSA-2020:0195
RHEL 6 python-reportlab +1 2.3-3.el6_10.1 RHSA-2020:0197
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.0 E4S python-reportlab +1 3.4.0-6.el8_0.2 RHSA-2020:0230
ReleasePackageFixed inAdvisory
SLES 12 SP5 python-reportlab 2.7-3.3.1 SUSE-SU-2020:0324-1
SLES 12 SP4 python-reportlab 2.7-3.3.1 SUSE-SU-2020:0324-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-reportlab 4.0.7-1.3 openSUSE-SU-2026:12037-1, openSUSE-SU-2024:14160-1
openSUSE Leap 15.1 python-reportlab 3.4.0-lp151.3.3.1 openSUSE-SU-2020:0160-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 python-reportlab +1 2.5-9.amzn2.1 ALAS2-2020-1390

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-reportlab 3.4.0-6.el8_1.2 ELSA-2020-0201
Oracle Linux 7 python-reportlab +1 2.5-9.el7_7.1 ELSA-2020-0195

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI reportlab < 3.5.28 3.5.28 GHSA-qpg2-vx7j-3869

Advisories 14

References