Advisory

GHSA-57h3-9rgr-c24m

Also known as: BIT-pillow-2021-25289, CVE-2021-25289, PYSEC-2021-35

Summary

Out of bounds write in Pillow

Details

An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-03-29 16:35 UTC
Modified
2024-10-08 13:22 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences