CVE-2019-17626

python-reportlab: code injection in colors.py allows attacker to execute code

Published Oct 16, 2019 CVSS 3.1 · 9.8 Critical EPSS 9.5% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2112-1 python-reportlab security update
Debian DLA Debian DLA DLA-3590-1 python-reportlab security update
Debian DSA Debian DSA DSA-4663-1 python-reportlab security update
Github GHSA Github GHSA GHSA-qpg2-vx7j-3869 XML Injection in ReportLab
Ubuntu USN Ubuntu USN USN-4273-1 ReportLab vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-91

    XML Injection (aka Blind XPath Injection)

  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 1:47 AM
Reserved
Oct 16, 2019, 12:00 AM
Status
Modified
Published
Oct 16, 2019, 12:15 PM
Modified
Jun 17, 2026, 2:24 AM
Severity
Important
Public date
Oct 16, 2019, 12:00 AM