{"schema_version":"1.7.3","id":"GHSA-98vv-pw6r-q6q4","published":"2021-09-07T23:08:10Z","modified":"2024-10-09T21:08:55.452380Z","aliases":["BIT-pillow-2021-23437","CVE-2021-23437","PYSEC-2021-317","SNYK-PYTHON-PILLOW-1319443"],"summary":"Uncontrolled Resource Consumption in pillow","details":"The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.","affected":[{"package":{"name":"pillow","ecosystem":"PyPI","purl":"pkg:pypi/pillow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"8.3.2"}]}],"versions":["5.2.0","5.3.0","5.4.0","5.4.0.dev0","5.4.1","6.0.0","6.1.0","6.2.0","6.2.1","6.2.2","7.0.0","7.1.0","7.1.1","7.1.2","7.2.0","8.0.0","8.0.1","8.1.0","8.1.1","8.1.2","8.2.0","8.3.0","8.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-98vv-pw6r-q6q4/GHSA-98vv-pw6r-q6q4.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23437"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-98vv-pw6r-q6q4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-317.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202211-10"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443"}],"database_specific":{"cwe_ids":["CWE-125","CWE-400"],"github_reviewed":true,"github_reviewed_at":"2021-09-07T15:15:55Z","nvd_published_at":"2021-09-03T16:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}