SB2016060211 - Heap-based buffer overflow in giflib (Alpine package)
Published: June 2, 2016
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Heap-based buffer overflow (CVE-ID: CVE-2016-3977)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the gif2rgb() function (util/gif2rgb.c) in giflib 5.1.2. A remote attacker can use background color index in a GIF file 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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=7aeba9fe5e8244e67d20d70fb0d4261d5c79b5fb
- https://git.alpinelinux.org/aports/commit/?id=514514446dd382063ff206ed5fbf7352b5f4e941
- https://git.alpinelinux.org/aports/commit/?id=d723b3fe543172bf6e4dfddb4cd5f2441896b313
- https://git.alpinelinux.org/aports/commit/?id=a51a6984b5ddb503e3867843734027294cdee7c7