Advisory

PYSEC-2022-10

Also known as: BIT-pillow-2022-22817, CVE-2022-22817, GHSA-8vj2-vxx3-667w

Summary

The record has no summary.

Details

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.

Severity

Not rated by the source.

Dates

Published
2022-01-10 14:12 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 9.0.0 (ecosystem)

Fixed versions

9.0.0

Fix

  • Fixed version 9.0.0
    pip install --upgrade pillow==9.0.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: PyPA Advisory Database · CC BY 4.0

Sources & licences