Advisory

GHSA-q4mp-jvh2-76fj

Also known as: BIT-pillow-2022-45199, CVE-2022-45199, PYSEC-2022-42980

Summary

Pillow subject to DoS via SAMPLESPERPIXEL tag

Details

Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-14 12:00 UTC
Modified
2024-10-14 18:44 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 9.2.0, fixed 9.3.0 (ecosystem)

Fixed versions

9.3.0

Fix

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