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.
[
{
"cpes": [
"cpe:2.3:a:reportlab:reportlab:*:*:*:*:*:*:*:*"
],
"vendor": "reportlab",
"product": "reportlab",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "3.5.26"
}
],
"defaultStatus": "unknown"
}
]
lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
access.redhat.com/errata/RHSA-2020:0195
access.redhat.com/errata/RHSA-2020:0197
access.redhat.com/errata/RHSA-2020:0201
access.redhat.com/errata/RHSA-2020:0230
bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
lists.debian.org/debian-lts-announce/2020/02/msg00019.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
security.gentoo.org/glsa/202007-35
security.netapp.com/advisory/ntap-20240719-0006/
usn.ubuntu.com/4273-1/
www.debian.org/security/2020/dsa-4663