Pillow up to 8.3.1 getrgb incorrect regex

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Pillow up to 8.3.1. The impacted element is the function getrgb. Executing a manipulation can lead to incorrect regex. This vulnerability is tracked as CVE-2021-23437. The attack can be launched remotely. No exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability has been found in Pillow up to 8.3.1 and classified as critical. This vulnerability affects the function getrgb. The manipulation with an unknown input leads to a incorrect regex vulnerability. The CWE definition for the vulnerability is CWE-185. The product specifies a regular expression in a way that causes data to be improperly matched or compared. As an impact it is known to affect availability.

The weakness was disclosed 09/03/2021 as SNYK-PYTHON-PILLOW-1319443. The advisory is available at snyk.io. This vulnerability was named CVE-2021-23437. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 297500 (Debian dla-4462 : python-pil-doc - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 8.3.2 eliminates this vulnerability. The upgrade is hosted for download at pillow.readthedocs.io. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (297500). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Incorrect regex
CWE: CWE-185 / CWE-697
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 297500
Nessus Name: Debian dla-4462 : python-pil-doc - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Pillow 8.3.2
Patch: github.com

Timelineinfo

01/08/2021 🔍
09/03/2021 +237 days 🔍
09/03/2021 +0 days 🔍
02/01/2026 +1612 days 🔍

Sourcesinfo

Advisory: SNYK-PYTHON-PILLOW-1319443
Status: Confirmed

CVE: CVE-2021-23437 (🔍)
GCVE (CVE): GCVE-0-2021-23437
GCVE (VulDB): GCVE-100-182002

Entryinfo

Created: 09/03/2021 21:58
Updated: 02/01/2026 18:27
Changes: 09/03/2021 21:58 (40), 09/09/2021 15:03 (2), 09/09/2021 15:04 (1), 02/01/2026 18:27 (16)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!