GitHub Advisoryadvisory · PyPI

GHSA-q4mp-jvh2-76fj Pillow subject to DoS via SAMPLESPERPIXEL tag

HIGH Published 2022-11-14 Modified 2024-10-11 Official page ↗
Aliases
CVE-2022-45199
Ecosystem
PyPI
Packages
pillow
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2022-11-15

Affected packages

• PyPI pillow: >= 9.2.0, < 9.3.0 → fixed in 9.3.0

Description

Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.

Related

Alias · CVE (1)

  • CVE-2022-45199 Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References