cve.bz

CVE-2019-19450 Blind XPath Injection

9.8 criticalEPSS 6.0%Fix available

Critical (9.8). EPSS 6.0% estimated probability of exploitation activity in the next 30 days. Fixed in reportlab 3.5.31.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.0% (unchanged from 6.0% a week ago; 6.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-91 XML Injection (Blind XPath Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-19450 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19450?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19450?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-19450 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
reportlab:reportlabbefore 3.5.31
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pj98-2xf6-cff5PyPIreportlab<3.5.313.5.31
PYSEC-2026-522PyPIreportlab<3.5.313.5.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-reportlab3.5.13-1+deb10u2DLA-3590-1
Debian12, 13, 14python-reportlab3.5.31-1DEBIAN-CVE-2019-19450
Ubuntu16.04:LTS, 18.04:LTSpython-reportlabno fix listedUBUNTU-CVE-2019-19450
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpython-reportlab, python-reportlab-docs, python-reportlab-debuginfo0:2.5-11.el7_9RHSA-2023:5616
Red Hatenterprise_linux:8::appstreampython-reportlab, python3-reportlab, python3-reportlab-debuginfo and 1 more0:3.4.0-8.el8_8.1RHSA-2023:5790
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreampython-reportlab, python3-reportlab, python3-reportlab-debuginfo and 1 more0:3.4.0-8.el8_2.1RHSA-2023:5788
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreampython-reportlab, python3-reportlab, python3-reportlab-debuginfo and 1 more0:3.4.0-8.el8_4.1RHSA-2023:5787
Red Hatrhel_e4s:8.1::appstreampython-reportlab, python3-reportlab, python3-reportlab-debuginfo and 1 more0:3.4.0-6.el8_1.5RHSA-2023:5789
Red Hatrhel_eus:8.6::appstreampython-reportlab, python3-reportlab, python3-reportlab-debuginfo and 1 more0:3.4.0-8.el8_6.1RHSA-2023:5786
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Package Hub 15 SP5python-reportlab3.4.0-150000.3.12.1SUSE-SU-2023:3972-1
SUSELinux Enterprise Workstation Extension 12 SP5python-reportlab2.7-3.16.1SUSE-SU-2023:4048-1
openSUSELeap 15.4, Leap 15.5python-reportlab3.4.0-150000.3.12.1SUSE-SU-2023:3972-1
AlmaLinux8python3-reportlab3.4.0-8.el8_8.1.alma.1ALSA-2023:5790

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit the issue, a malicious user has to use a crafted malicious html 'unichar' tag input and then use the reportlab's feature to generate a pdf of the document and that can lead to a remote code execution, therefore, this CVE has an Important impact.

This vulnerability is similar to CVE-2019-17626.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-reportlab-0:2.5-11.el7_9Fixed 2023-10-10RHSA-2023:5616
Red Hat Enterprise Linux 8python-reportlab-0:3.4.0-8.el8_8.1Fixed 2023-10-17RHSA-2023:5790
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionspython-reportlab-0:3.4.0-6.el8_1.5Fixed 2023-10-17RHSA-2023:5789
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython-reportlab-0:3.4.0-8.el8_2.1Fixed 2023-10-17RHSA-2023:5788
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepython-reportlab-0:3.4.0-8.el8_2.1Fixed 2023-10-17RHSA-2023:5788
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionspython-reportlab-0:3.4.0-8.el8_2.1Fixed 2023-10-17RHSA-2023:5788
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-reportlab-0:3.4.0-8.el8_4.1Fixed 2023-10-17RHSA-2023:5787
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicepython-reportlab-0:3.4.0-8.el8_4.1Fixed 2023-10-17RHSA-2023:5787
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionspython-reportlab-0:3.4.0-8.el8_4.1Fixed 2023-10-17RHSA-2023:5787
Red Hat Enterprise Linux 8.6 Extended Update Supportpython-reportlab-0:3.4.0-8.el8_6.1Fixed 2023-10-17RHSA-2023:5786
Red Hat Enterprise Linux 6python-reportlabOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-19450.

Attack patterns (CAPEC)

  • CAPEC-83 XPath Injection Likelihood: High · Severity: High
  • CAPEC-250 XML Injection Likelihood: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON