PyPi: Reportlab

CVE-2019-17626

Safety vulnerability ID: 37572

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 16, 2019 Updated at Dec 10, 2024
Scan your Python projects for vulnerabilities →

Advisory

ReportLab 3.5.34 includes a fix for CVE-2019-17626: Remote code execution vulnerability because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.

Affected package

reportlab

Latest version: 4.2.5

The Reportlab Toolkit

Affected versions

Fixed versions

Vulnerability changelog

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.


MISC:https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code: https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
MISC:https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md: https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL