SB2012081514 - Heap-based buffer overflow in tiff (Alpine package)
Published: August 15, 2012
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Heap-based buffer overflow (CVE-ID: CVE-2012-3401)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does not properly initialize the T2P context struct pointer in certain error conditions, which. A remote attacker can use a crafted TIFF image that triggers a heap-based buffer overflow. 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=301bae2e27f652249d470c9150f1412f773a2cb8
- https://git.alpinelinux.org/aports/commit/?id=cec5694c99fea1b7fa139a5059268a1e73be448a
- https://git.alpinelinux.org/aports/commit/?id=79660117ab4cf62e035fb50d1cf9a3d6c6ce9b9a
- https://git.alpinelinux.org/aports/commit/?id=87bc3681564395629e60dfff9915d4db4f5e88de
- https://git.alpinelinux.org/aports/commit/?id=0a398c8e7af30d20d555a7b354958a7ae3ce3ece
- https://git.alpinelinux.org/aports/commit/?id=4418ddad5793b4450725e317ad4231a0cb82215e