Advisory

GHSA-98vv-pw6r-q6q4

Also known as: BIT-pillow-2021-23437, CVE-2021-23437, PYSEC-2021-317, SNYK-PYTHON-PILLOW-1319443

Summary

Uncontrolled Resource Consumption in pillow

Details

The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-07 23:08 UTC
Modified
2024-10-09 21:08 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 5.2.0, fixed 8.3.2 (ecosystem)

Fixed versions

8.3.2

Fix

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

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