XML Injection Affecting python-reportlab package, versions <0:2.5-10.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.98% (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 IDSNYK-AMZN2-PYTHONREPORTLAB-5935965
  • published6 Oct 2023
  • disclosed20 Sept 2023

Introduced: 20 Sep 2023

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

How to fix?

Upgrade Amazon-Linux:2 python-reportlab to version 0:2.5-10.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2285.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1