Advisory

GHSA-qpg2-vx7j-3869

Also known as: CVE-2019-17626, PYSEC-2019-117

Summary

XML Injection in ReportLab

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 22:00 UTC
Modified
2024-10-26 22:51 UTC

Affected packages and fixes

reportlab

PyPI · All systems

Affected

  • introduced 0, fixed 3.5.28 (ecosystem)

Fixed versions

3.5.28

Fix

  • Fixed version 3.5.28
    pip install --upgrade reportlab==3.5.28

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences