Vulnerability in Python Pillow
CVE-2022-22817
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.036, 89.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Debian Linux — versions 9.0, 10.0, 11.0
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
Also mentioned in 6 other repositories (ARPSyndicate/cvemon, CPester05/Exploits, NaInSec/CVE-LIST, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html (Release Notes, Vendor Advisory)
- [debian-lts-announce] 20220123 [SECURITY] [DLA 2893-1] pillow security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5053 (vendor-advisory, Third Party Advisory)
- pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html (Release Notes, Vendor Advisory)
- GLSA-202211-10 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update (mailing-list)
This CVE has public exploit evidence. See the latest CVEs with public exploits.