PyPi: Pillow

CVE-2021-23437

Safety vulnerability ID: 41271

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 03, 2021 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Pillow from 5.2.0 and before 8.3.2 is vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html

Affected package

pillow

Latest version: 11.0.0

Python Imaging Library (Fork)

Affected versions

Fixed versions

Vulnerability changelog

The package pillow from 0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function. See CVE-2021-23437.


MISC:https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b: https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b
MISC:https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html: https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html
MISC:https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443: https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Impact (A)
PARTIAL