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


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.91% (84th 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-AMZN2-PYTHONREPORTLABDOCS-5936240
  • 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-docs 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-docs package and not the python-reportlab-docs 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 Scores

version 3.1