Risk | High |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2021-40145 |
CWE-ID | CWE-415 |
Exploitation vector | Network |
Public exploit | N/A |
Vulnerable software Subscribe |
Amazon Linux AMI Operating systems & Components / Operating system gd Operating systems & Components / Operating system package or component |
Vendor | Amazon Web Services |
Security Bulletin
This security bulletin contains one high risk vulnerability.
EUVDB-ID: #VU74503
Risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID: CVE-2021-40145
CWE-ID:
CWE-415 - Double Free
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the gdImageGd2Ptr() function in gd_gd2.c. A remote attacker can pass specially crafted data to the application, trigger double free error 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:
i686:Vulnerable software versions
gd-devel-2.0.35-11.11.amzn1.i686
gd-2.0.35-11.11.amzn1.i686
gd-progs-2.0.35-11.11.amzn1.i686
gd-debuginfo-2.0.35-11.11.amzn1.i686
src:
gd-2.0.35-11.11.amzn1.src
x86_64:
gd-devel-2.0.35-11.11.amzn1.x86_64
gd-2.0.35-11.11.amzn1.x86_64
gd-progs-2.0.35-11.11.amzn1.x86_64
gd-debuginfo-2.0.35-11.11.amzn1.x86_64
Amazon Linux AMI: All versions
gd: before 2.0.35-11.11
External linkshttp://alas.aws.amazon.com/ALAS-2023-1721.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.