ALPINE-CVE-2022-22817

Source
https://security.alpinelinux.org/vuln/CVE-2022-22817
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2022-22817.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2022-22817
Upstream
Published
2022-01-10T14:12:55Z
Modified
2025-09-26T00:20:37.751043Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.

References

Affected packages

Alpine:v3.15 / py3-pillow

Package

Name
py3-pillow
Purl
pkg:apk/alpine/py3-pillow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4.0-r3

Affected versions

7.*

7.1.1-r0
7.1.2-r0
7.2.0-r0

8.*

8.1.0-r0
8.1.2-r0
8.1.2-r1
8.4.0-r0
8.4.0-r1
8.4.0-r2