Advisory

PYSEC-2021-139

Also known as: BIT-pillow-2021-28675, CVE-2021-28675, GHSA-g6rj-rv7j-xwp4

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-06-02 15:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 8.2.0 (ecosystem)

Fixed versions

8.2.0

Fix

  • Fixed version 8.2.0
    pip install --upgrade pillow==8.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences