XML injection in ReportLab - CVE-2019-19450

 

XML injection in ReportLab - CVE-2019-19450

Published: October 17, 2023


Vulnerability identifier: #VU82176
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-19450
CWE-ID: CWE-91
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when processing XML data within the start_unichar() function in paraparser.py. A remote unauthenticated attacker can pass specially crafted XML data to the application and perform arbitrary actions on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

ReportLab
Oracle Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
Anolis OS
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Workstation Extension 12
SUSE Package Hub 15
openSUSE Leap
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python-reportlab-docs
python-reportlab
python-reportlab (Red Hat package)
python-reportlab-debugsource
python-reportlab-debuginfo
python3-reportlab
python-reportlab-doc
python3-reportlab-debuginfo

How to mitigate CVE-2019-19450

Install updates from vendor's website.

ReportLab - update to 3.5.31
python-reportlab-docs - update to 2.5-11
python-reportlab - update to 2.5-11
python-reportlab (Red Hat package) - addressed in versions 2.5-11.el7_9, 3.4.0-6.el8_1.5, 3.4.0-8.el8_2.1, 3.4.0-8.el8_4.1, 3.4.0-8.el8_6.1, 3.4.0-8.el8_8.1
python-reportlab - update to 2.7-3.16.1
python-reportlab-debugsource - addressed in versions 2.7-3.16.1, 3.4.0-150000.3.12.1
python-reportlab-debuginfo - addressed in versions 2.7-3.16.1, 3.4.0-150000.3.12.1
python3-reportlab - update to 3.4.0-8.0.1
python-reportlab-doc - update to 3.4.0-8.0.1
python3-reportlab - update to 3.4.0-150000.3.12.1
python3-reportlab-debuginfo - update to 3.4.0-150000.3.12.1

External References

Related Security Bulletins