Heap-based buffer overflow in gd (Alpine package)



Published: 2016-05-23
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-3074
CWE-ID CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
gd (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU33631

Risk: High

CVSSv3.1: 8.8 [AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2016-3074

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2). A remote attacker can use crafted compressed gd2 data to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

gd (Alpine package): 2.1.1-r0

External links

http://git.alpinelinux.org/aports/commit/?id=4b52b89e94d238b1bb241c3c3f7a3d546b546399
http://git.alpinelinux.org/aports/commit/?id=4cba47a00fbf18d33e40ee19d3f711b26ae4c8ef
http://git.alpinelinux.org/aports/commit/?id=03a7b7c153735bbd740e554845de18f3f5e7f4f5
http://git.alpinelinux.org/aports/commit/?id=d15b57bb0bc40d5a6f11352091c743e3ada49dd2
http://git.alpinelinux.org/aports/commit/?id=9c357d4b73ee5422aa963ff6ac9f0748053150ec
http://git.alpinelinux.org/aports/commit/?id=f99b90d27dbccd3fd8ec6cc924dd4a51624f1034


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###