SB2017092910 - Information disclosure in gd (Alpine package)
Published: September 29, 2017
Security Bulletin ID
SB2017092910
Severity
Low
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Information disclosure
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Information disclosure (CVE-ID: CVE-2017-7890)
The vulnerability allows a remote attacker to obtain potentially sensitive information.
The weakness exists in the GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c due to it does not zero colorMap arrays before use. A remote attacker can trick the victim into opening a specially crafted GIF image that could use the uninitialized tables to read ~700 bytes from the top of the stack and gain access to potentially sensitive information.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=fa666308ab37b32d9aef124a737b59ebd06a1f7a
- https://git.alpinelinux.org/aports/commit/?id=c77ede20873cee5072a80b7d96cfdd045cc1bc7f
- https://git.alpinelinux.org/aports/commit/?id=d6da87295c4d40896255b08ee5b73d8199e352cb
- https://git.alpinelinux.org/aports/commit/?id=0dfd5e85b10c2aba69314b961c7023dcce1d1514
- https://git.alpinelinux.org/aports/commit/?id=2163755a312b6f196914d74c863dcc8edfb81e0b