{"id":"CVE-2022-22817","state":"PUBLISHED","title":"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.","description":"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.","publishedAt":"2022-01-07T00:00:00.000Z","updatedAt":"2024-10-15T20:26:11.440Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval","https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html","https://www.debian.org/security/2022/dsa-5053","https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security","https://security.gentoo.org/glsa/202211-10","https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:38.433Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/22xxx/CVE-2022-22817.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-22817","state":"PUBLISHED","datePublished":"2022-01-07T00:00:00.000Z","dateUpdated":"2024-10-15T20:26:11.440Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-01-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval"},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html","name":"[debian-lts-announce] 20220123 [SECURITY] [DLA 2893-1] pillow security update","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5053","name":"DSA-5053","tags":["vendor-advisory"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security"},{"url":"https://security.gentoo.org/glsa/202211-10","name":"GLSA-202211-10","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html","name":"[debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-03-22T11:05:55.677Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html","name":"[debian-lts-announce] 20220123 [SECURITY] [DLA 2893-1] pillow security update","tags":["mailing-list","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5053","name":"DSA-5053","tags":["vendor-advisory","x_transferred"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202211-10","name":"GLSA-202211-10","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html","name":"[debian-lts-announce] 20240322 [SECURITY] [DLA 3768-1] pillow security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:21:49.221Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-10-15T17:36:26.542748Z","id":"CVE-2022-22817","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-15T20:26:11.440Z"}}]}}}