Advisory

GHSA-hjfx-8p6c-g7gx

Also known as: BIT-pillow-2021-28678, CVE-2021-28678, PYSEC-2021-94

Summary

Insufficient Verification of Data Authenticity in Pillow

Details

An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-08 18:49 UTC
Modified
2024-10-14 21:48 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 5.1.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences