9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.3 High
AI Score
Confidence
High
7.5 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.003 Low
EPSS
Percentile
68.2%
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.
Author | Note |
---|---|
ccdm94 | upstream mentions in the readthedocs page for version 9.0.1 (https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html) that the fix for this CVE applied in version 9.0.0 (commit 8531b01d6c) does not completely patch the vulnerability. A new commit, dd46100bdc, was added in order to completely fix the issue. |
mdeslaur | switching releases back to needed due to incomplete fix |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | pillow | <Â 5.1.0-1ubuntu0.8 | UNKNOWN |
ubuntu | 20.04 | noarch | pillow | <Â 7.0.0-4ubuntu0.6 | UNKNOWN |
ubuntu | 21.04 | noarch | pillow | <Â 8.1.2-1ubuntu0.2 | UNKNOWN |
ubuntu | 21.10 | noarch | pillow | <Â 8.1.2+dfsg-0.3ubuntu0.1 | UNKNOWN |
ubuntu | 14.04 | noarch | pillow | <Â any | UNKNOWN |
ubuntu | 16.04 | noarch | pillow | <Â any | UNKNOWN |
ubuntu | 20.04 | noarch | pillow-python2 | <Â any | UNKNOWN |
launchpad.net/bugs/cve/CVE-2022-22817
nvd.nist.gov/vuln/detail/CVE-2022-22817
pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#restrict-builtins-available-to-imagemath-eval
security-tracker.debian.org/tracker/CVE-2022-22817
ubuntu.com/security/notices/USN-5227-1
ubuntu.com/security/notices/USN-5227-2
ubuntu.com/security/notices/USN-5227-3
www.cve.org/CVERecord?id=CVE-2022-22817
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
9.3 High
AI Score
Confidence
High
7.5 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.003 Low
EPSS
Percentile
68.2%