GitHub Advisoryadvisory · PyPI

GHSA-g6rj-rv7j-xwp4 Pillow denial of service

HIGH Published 2021-06-08 Modified 2024-10-09 Official page ↗
Aliases
CVE-2021-28675
Ecosystem
PyPI
Packages
pillow
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-233, CWE-252
Reviewed
2021-06-03

Affected packages

• PyPI pillow: < 8.2.0 → fixed in 8.2.0

Description

An issue was discovered in Pillow before 8.2.0. `PSDImagePlugin.PsdImageFile` lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on `Image.open` prior to `Image.load`.

Related

Alias · CVE (1)

  • CVE-2021-28675 An issue was discovered in Pillow before 8.2.0. vulnerability

Weakness · CWE (2)

  • CWE-233 Improper Handling of Parameters weakness
  • CWE-252 Unchecked Return Value weakness

References