GHSA-g6rj-rv7j-xwp4

Pillow denial of service

En bref

Publiée
Mise à jour
CVE
CVE-2021-28675
Alias
BIT-pillow-2021-28675, PYSEC-2021-139
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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`.

Paquets affectés

PaquetVersions
PyPI · pillowintroduced 0, fixed 8.2.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database