Advisory

GHSA-hf64-x4gq-p99h

Also known as: BIT-pillow-2020-35655, CVE-2020-35655, PYSEC-2021-71

Summary

Pillow Out-of-bounds Read

Details

In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-18 19:55 UTC
Modified
2024-10-08 13:23 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 4.3.0, fixed 8.1.0 (ecosystem)

Fixed versions

8.1.0

Fix

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