Denial of Service (DoS) Affecting pillow package, versions [,8.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Denial of Service (DoS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PILLOW-2371725
  • published26 Jan 2022
  • disclosed19 Mar 2021
  • creditUnknown

Introduced: 19 Mar 2021

CVE-2021-25292  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade pillow to version 8.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.

CVSS Base Scores

version 3.1