Risk | High |
Patch available | YES |
Number of vulnerabilities | 2 |
CVE-ID | CVE-2023-50447 CVE-2022-22817 |
CWE-ID | CWE-94 CWE-749 |
Exploitation vector | Network |
Public exploit | N/A |
Vulnerable software |
Amazon Linux AMI Operating systems & Components / Operating system python-pillow Operating systems & Components / Operating system package or component |
Vendor | Amazon Web Services |
Security Bulletin
This security bulletin contains information about 2 vulnerabilities.
EUVDB-ID: #VU85743
Risk: High
CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2023-50447
CWE-ID:
CWE-94 - Improper Control of Generation of Code ('Code Injection')
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation within the PIL.ImageMath.eval function. A remote attacker can send a specially crafted input to the application and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
MitigationUpdate the affected packages:
aarch64:Vulnerable software versions
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-tk-9.4.0-2.amzn2023.0.4.aarch64
python-pillow-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-devel-9.4.0-2.amzn2023.0.4.aarch64
python-pillow-debugsource-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-9.4.0-2.amzn2023.0.4.aarch64
src:
python-pillow-9.4.0-2.amzn2023.0.4.src
x86_64:
python-pillow-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-devel-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python-pillow-debugsource-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-tk-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-9.4.0-2.amzn2023.0.4.x86_64
Amazon Linux AMI: All versions
python-pillow: All versions
CPE2.3https://alas.aws.amazon.com/AL2023/ALAS-2024-512.html
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU60003
Risk: High
CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2022-22817
CWE-ID:
CWE-749 - Exposed Dangerous Method or Function
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to usage of PIL.ImageMath.eval() function on arbitrary expressions. A remote attacker can pass specially crafted file to the library and execute arbitrary code on the system.
Update the affected packages:
aarch64:Vulnerable software versions
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-tk-9.4.0-2.amzn2023.0.4.aarch64
python-pillow-debuginfo-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-devel-9.4.0-2.amzn2023.0.4.aarch64
python-pillow-debugsource-9.4.0-2.amzn2023.0.4.aarch64
python3-pillow-9.4.0-2.amzn2023.0.4.aarch64
src:
python-pillow-9.4.0-2.amzn2023.0.4.src
x86_64:
python-pillow-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-devel-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python-pillow-debugsource-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-tk-9.4.0-2.amzn2023.0.4.x86_64
python3-pillow-9.4.0-2.amzn2023.0.4.x86_64
Amazon Linux AMI: All versions
python-pillow: All versions
CPE2.3https://alas.aws.amazon.com/AL2023/ALAS-2024-512.html
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.