XML Injection Affecting python-reportlab package, versions <0:2.5-9.el7_7.1


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
6.9% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE7-PYTHONREPORTLAB-2548908
  • published10 Apr 2022
  • disclosed16 Oct 2019

Introduced: 16 Oct 2019

CVE-2019-17626  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade Oracle:7 python-reportlab to version 0:2.5-9.el7_7.1 or higher.
This issue was patched in ELSA-2020-0195.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-reportlab package and not the python-reportlab package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1