CVE-2022-22817
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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,
Overview
- CVE ID
- CVE-2022-22817
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-10T14:12:55
- Last Modified Date
- 2023-01-31T17:46:59
Weakness Enumerations
CPE Configuration (Product)
| CPE | Vulnerable | Operator | Version Start | Version End |
|---|---|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | 1 | OR | 9.0.1 | |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
| Reference URL | Reference Tags |
|---|---|
| https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html | Mailing List Third Party Advisory |
| https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval | Release Notes Vendor Advisory |
| https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security | Release Notes Vendor Advisory |
| https://security.gentoo.org/glsa/202211-10 | |
| https://www.debian.org/security/2022/dsa-5053 | Third Party Advisory |
Sources
| Source Name | Source URL |
|---|---|
| NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-22817 |
| MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22817 |
History
| Created | Old Value | New Value | Data Type | Notes |
|---|---|---|---|---|
| 2022-04-04 00:41:39 | Added to TrackCVE | |||
| 2022-12-06 05:59:39 | 2022-01-10T14:12Z | 2022-01-10T14:12:55 | CVE Published Date | updated |
| 2022-12-06 05:59:39 | 2022-11-22T06:15:34 | CVE Modified Date | updated | |
| 2022-12-06 05:59:39 | Undergoing Analysis | Vulnerability Status | updated | |
| 2022-12-06 05:59:44 | References | updated | ||
| 2023-01-31 19:11:24 | 2023-01-31T17:46:59 | CVE Modified Date | updated | |
| 2023-01-31 19:11:24 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |