CRITICAL 9.8 PyPI
XML Injection in ReportLab
GHSA-qpg2-vx7j-3869 · CVE-2019-17626 · PYSEC-2019-117
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2019-17626
- WEB https://www.debian.org/security/2020/dsa-4663
- WEB https://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- WEB https://usn.ubuntu.com/4273-1
- WEB https://security.netapp.com/advisory/ntap-20240719-0006
- WEB https://security.gentoo.org/glsa/202007-35
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- WEB https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- WEB https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- WEB https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- WEB https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html
- WEB https://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml
- ADVISORY https://github.com/advisories/GHSA-qpg2-vx7j-3869
- PACKAGE https://github.com/MrBitBucket/reportlab-mirror
- WEB https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- WEB https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- WEB https://access.redhat.com/security/cve/cve-2019-17626
- WEB https://access.redhat.com/errata/RHSA-2020:0230
- WEB https://access.redhat.com/errata/RHSA-2020:0201
- WEB https://access.redhat.com/errata/RHSA-2020:0197
- WEB https://access.redhat.com/errata/RHSA-2020:0195
- WEB http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
Ready to move
Start Securing
Free, no credit card | First findings in minutes