Advisory

PYSEC-2021-38

Also known as: BIT-pillow-2021-25292, CVE-2021-25292, GHSA-9hx2-hgq2-2g4f

Summary

The record has no summary.

Details

An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.

Severity

Not rated by the source.

Dates

Published
2021-03-19 04:15 UTC
Modified
2023-12-06 01:00 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: PyPA Advisory Database · CC BY 4.0

Sources & licences