Advisory

PYSEC-2021-40

Also known as: BIT-pillow-2021-27921, CVE-2021-27921, GHSA-f4w8-cv6p-x6r5

Summary

The record has no summary.

Details

Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

Severity

Not rated by the source.

Dates

Published
2021-03-03 09:15 UTC
Modified
2023-12-06 01:00 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 8.1.1 (ecosystem)

Fixed versions

8.1.1

Fix

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

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