Advisory

GHSA-7534-mm45-c74v

Also known as: BIT-pillow-2021-34552, CVE-2021-34552, PYSEC-2021-331

Summary

Buffer Overflow in Pillow

Details

Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-10-05 20:24 UTC
Modified
2024-10-09 21:10 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 8.3.0 (ecosystem)

Fixed versions

8.3.0

Fix

  • Fixed version 8.3.0
    pip install --upgrade pillow==8.3.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