Affected versions
Version ranges need review.
PyPIreportlab
- Affected versions
- < 3.5.31
- Fixed version
- 3.5.31
PyPIreportlab
- Affected versions
- <3.5.31 || =2.0 || =2.3 || =2.4 || =2.5 || =2.6 || =2.7 || =3.0 || =3.1.44 || =3.1.8 || =3.2.0 || =3.3.0 || =3.4.0 || =3.5.0 || =3.5.1 || =3.5.10 || =3.5.11 || =3.5.12 || =3.5.13 || =3.5.16 || =3.5.17 || =3.5.18 || =3.5.19 || =3.5.2 || =3.5.20 || =3.5.21 || =3.5.23 || =3.5.26 || =3.5.28 || =3.5.4 || =3.5.5 || =3.5.6 || =3.5.8 || =3.5.9
- Fixed version
- 3.5.31
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
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.
Links
- https://github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md
- https://github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md#release-353115102019
- https://github.com/advisories/GHSA-pj98-2xf6-cff5
- https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2026-522.yaml
- https://hg.reportlab.com/hg-public/reportlab
- https://lists.debian.org/debian-lts-announce/2023/09/msg00037.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CHMCB2GJQKFMGVO5RWHN222NQL5XYPHZ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HADPTB3SBU7IVRMDK7OL6WSQRU5AFWDZ
- https://nvd.nist.gov/vuln/detail/CVE-2019-19450
- https://pastebin.com/5MicRrr4
- https://pypi.org/project/reportlab

