CVEfocus › CVE database › CVE-2019-17626

CVE-2019-17626

CVSS 9.8 CriticalEPSS 9.5% (higher than 96% of CVEs)Published 2019-10-16Updated 2024-08-05Assigner: mitre

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.

CWE-91

What to do

Fixed builds are available from Debian, PyPI, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04python-reportlabFixed3.4.0-3ubuntu0.1UBUNTU-CVE-2019-17626
Ubuntu 16.04python-reportlabFixed3.3.0-1ubuntu0.1UBUNTU-CVE-2019-17626
Ubuntu 14.04python-reportlabFix pending
Debian 14python-reportlabFixed3.5.34-1DEBIAN-CVE-2019-17626
Debian 13python-reportlabFixed3.5.34-1DEBIAN-CVE-2019-17626
Debian 12python-reportlabFixed3.5.34-1DEBIAN-CVE-2019-17626
Red Hat Enterprise Linux 8python-reportlabFixed0:3.4.0-6.el8_1.2RHSA-2020:0201
Red Hat Enterprise Linux 8python3-reportlabFixed0:3.4.0-6.el8_1.2RHSA-2020:0201
Red Hat Enterprise Linux 7python-reportlabFixed0:2.5-9.el7_7.1RHSA-2020:0195
Red Hat Enterprise Linux 7python-reportlab-docsFixed0:2.5-9.el7_7.1RHSA-2020:0195
Red Hat Enterprise Linux 6python-reportlabFixed0:2.3-3.el6_10.1RHSA-2020:0197
Red Hat Enterprise Linux 6python-reportlab-docsFixed0:2.3-3.el6_10.1RHSA-2020:0197
PyPI libraryreportlabFixed3.5.28GHSA-qpg2-vx7j-3869

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.