GitHub Advisoryadvisory · PyPI

GHSA-9hx2-hgq2-2g4f Regular Expression Denial of Service (ReDoS) in Pillow

MEDIUM Published 2021-03-29 Modified 2024-10-09 Official page ↗
Aliases
CVE-2021-25292
Ecosystem
PyPI
Packages
pillow
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2021-03-22

Affected packages

• PyPI pillow: >= 5.1.0, < 8.1.1 → fixed in 8.1.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-25292 An issue was discovered in Pillow before 8.1.1. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References