{"id":"CVE-2019-17626","published":"2019-10-16T11:29:38Z","modified":"2024-08-05T01:47:13Z","title":"ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.09526,"percentile":0.95572,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code","tags":[]},{"url":"https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2020:0197","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0195","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0230","tags":["vendor-advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0201","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/","tags":["vendor-advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/4273-1/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2020/dsa-4663","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202007-35","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240719-0006/","tags":[]}],"priority":{"score":26.0,"factors":[{"name":"EPSS percentile","points":19.11},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-19T16:35:28.197886Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"reportlab","vulnerableRanges":["<3.5.28"],"patched":["3.5.28"],"from":["GHSA-qpg2-vx7j-3869","PYSEC-2019-117"],"provenance":"source"}],"summary":{"text":"ReportLab through version 3.5.26 contains a flaw in the toColor function in colors.py, which passes input to eval, allowing attacker-supplied text to be executed as Python code. An attacker who can supply a crafted XML document containing a span color attribute with arbitrary Python code can achieve remote code execution, requiring only network access to submit the document and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:06Z"},"euvd":{"id":"EUVD-2019-0122","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2019-17626","to":"CVE-2019-19450","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…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.","from":"CVE.org","in":"CVE-2019-19450"}]}]}}