PT-2019-5892 · Reportlab+4 · Reportlab+4

Published

2019-10-16

·

Updated

2024-08-01

·

CVE-2019-17626

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ReportLab versions prior to 3.5.27
Description The issue is related to the toColor(eval(arg)) function in the ReportLab library, which is connected to an error in processing XML documents. This can be exploited by a remote attacker to gain access to confidential data, compromise data integrity, and cause a denial of service. The exploitation can be achieved through a crafted XML document containing arbitrary Python code, for example, using the <span color=" endpoint followed by malicious code.
Recommendations For ReportLab versions prior to 3.5.27, update to version 3.5.27 or later to resolve the issue. As a temporary workaround, consider restricting the use of the toColor(eval(arg)) function in the colors.py module to minimize the risk of exploitation. Avoid using the eval(arg) parameter in the affected API endpoint until the issue is resolved.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

BDU:2021-03604
CESA-2020_0195
CESA-2020_0197
CESA-2020_0201
CVE-2019-17626
DLA-2112-1
DLA-3590-1
DSA-4663-1
GHSA-QPG2-VX7J-3869
MGASA-2020-0059
OESA-2021-1281
OPENSUSE-SU-2020:0160-1
OPENSUSE-SU-2020_0160-1
OPENSUSE-SU-2024:11265-1
OPENSUSE-SU-2024:14160-1
PYSEC-2019-117
RHSA-2020:0195
RHSA-2020:0197
RHSA-2020:0201
RHSA-2020:0230
RHSA-2020_0195
RHSA-2020_0197
RHSA-2020_0201
SUSE-SU-2020:0255-1
SUSE-SU-2020:0324-1
SUSE-SU-2020_0255-1
USN-4273-1

Affected Products

Centos
Red Hat
Reportlab
Suse
Ubuntu