Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-22817: A flaw was found in python-pillow. The vulnerability occurs due to Improper Neutralization, leading to command injection. This flaw allows an attacker to externally-influenced input commands that modify the intended command. CVE-2022-22816: A flaw was found in python-pillow. The vulnerability occurs due to improper initialization of image paths, leading to a buffer over-read and improper initialization. This flaw allows an attacker to unauthorized memory access that causes memory access errors, incorrect results, or crashes. CVE-2022-22815: A flaw was found in python-pillow. The vulnerability occurs due to improper initialization of image paths, leading to a buffer over-read and improper initialization. This flaw allows an attacker to unauthorized memory access that causes memory access errors, incorrect results, or crashes.
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python-pillow | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
| Amazon Linux · 2 | python-pillow-debuginfo | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
| Amazon Linux · 2 | python-pillow-devel | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
| Amazon Linux · 2 | python-pillow-doc | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
| Amazon Linux · 2 | python-pillow-sane | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
| Amazon Linux · 2 | python-pillow-tk | 0:2.0.0-23.gitd1c6db8.amzn2.0.1 |
Vulnerabilities 3
-
Critical 9.8
Arbitrary expression injection in Pillow
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.
-
Medium 6.5
Improper Initialization in Pillow
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
-
Medium 6.5
Out-of-bounds Read in Pillow
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.