SB2018073048 - Memory corruption in tiff (Alpine package)
Published: July 30, 2018
Security Bulletin ID
SB2018073048
Severity
High
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Memory corruption (CVE-ID: CVE-2017-9935)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.The weakness exists in the t2p_write_pdf function in tools/tiff2pdf.c due to heap-based buffer overflow. A remote attacker can submit a specially crafted TIFF document, trigger out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free and execute arbitrary code on the target system.
Successful exploitation of the vulnerability may result in system compromise.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=f09fba4d42bac44edc96e82032d6b798b1c74fe4
- https://git.alpinelinux.org/aports/commit/?id=6659caf6913d6dd6651a2f723184dbca1d72f499
- https://git.alpinelinux.org/aports/commit/?id=a384f1f9b968fcff0bbab9758dec1ae69e738b29
- https://git.alpinelinux.org/aports/commit/?id=a7f6a9958c48146e719ecc1f6e2c38812af75c4b
- https://git.alpinelinux.org/aports/commit/?id=c1c8c5a78a149b9954517df485d61e66a73a93a4
- https://git.alpinelinux.org/aports/commit/?id=dc9b38d5feecbb2fcf0dd40261d5a5e958792b2b