Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-19450 EUVD-2023-2562GHSA-pj98-2xf6-cff5PYSEC-2026-522

ReportLab vulnerable to remote code execution via paraparser

Published Sep 20, 2023 · Updated Aug 5, 2024 · Assigned by mitre

Description

paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.

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.31-1 —
Debian 13 python-reportlab 3.5.31-1 —
Debian 12 python-reportlab 3.5.31-1 —
Debian 10 python-reportlab 3.5.13-1+deb10u2 DLA-3590-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-reportlab No fix yet —
Ubuntu 16.04 LTS python-reportlab No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 python-reportlab +1 3.4.0-8.el8_8.1 RHSA-2023:5790
RHEL 7 python-reportlab +1 2.5-11.el7_9 RHSA-2023:5616
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS python-reportlab +1 3.4.0-8.el8_6.1 RHSA-2023:5786
RHEL 8.4 TUS python-reportlab +1 3.4.0-8.el8_4.1 RHSA-2023:5787
RHEL 8.4 E4S python-reportlab +1 3.4.0-8.el8_4.1 RHSA-2023:5787
RHEL 8.4 AUS python-reportlab +1 3.4.0-8.el8_4.1 RHSA-2023:5787
RHEL 8.2 TUS python-reportlab +1 3.4.0-8.el8_2.1 RHSA-2023:5788
RHEL 8.2 E4S python-reportlab +1 3.4.0-8.el8_2.1 RHSA-2023:5788
RHEL 8.2 AUS python-reportlab +1 3.4.0-8.el8_2.1 RHSA-2023:5788
RHEL 8.1 E4S python-reportlab +1 3.4.0-6.el8_1.5 RHSA-2023:5789

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 python3-reportlab 3.4.0-8.el8_8.1.alma.1 ALSA-2023:5790
ReleasePackageFixed inAdvisory
SLES 15 SP5 python-reportlab 3.4.0-150000.3.12.1 SUSE-SU-2023:3972-1
SLES 15 SP4 python-reportlab 3.4.0-150000.3.12.1 SUSE-SU-2023:3972-1
SLES 12 SP5 python-reportlab 2.7-3.16.1 SUSE-SU-2023:4048-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 python-reportlab 3.4.0-150000.3.12.1 SUSE-SU-2023:3972-1
openSUSE Leap 15.4 python-reportlab 3.4.0-150000.3.12.1 SUSE-SU-2023:3972-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 python-reportlab +1 2.5-10.amzn2.0.1 ALAS2-2023-2285

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 python3-reportlab 3.4.0-8.el8_8.1 ELSA-2023-5790
Oracle Linux 7 python-reportlab +1 2.5-11.el7_9 ELSA-2023-5616

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI reportlab < 3.5.31 3.5.31 GHSA-pj98-2xf6-cff5

Advisories 14

References