Buffer underflow in LibTIFF - CVE-2008-2327
Published: June 25, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the LZWDecode(), LZWDecodeCompat(), and LZWDecodeVector() functions in tif_lzw.c in the LZW decoder in LibTIFF when processing TIFF files. A remote attacker can create a specially crafted TIFF image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
tiff (Alpine package)
How to mitigate CVE-2008-2327
tiff (Alpine package) - addressed in versions 3.8.2-r3, 3.9.5-r0
External References
- http://bugs.gentoo.org/show_bug.cgi?id=234080
- http://lists.apple.com/archives/security-announce//2008/Nov/msg00001.html
- http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html
- http://lists.apple.com/archives/security-announce/2008/Nov/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- http://security.gentoo.org/glsa/glsa-200809-07.xml
- http://security-tracker.debian.net/tracker/CVE-2008-2327
- http://security-tracker.debian.net/tracker/DSA-1632-1
- http://security-tracker.debian.net/tracker/DTSA-160-1
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-265030-1
- http://support.apple.com/kb/HT3276
- http://support.apple.com/kb/HT3298
- http://support.apple.com/kb/HT3318
- http://www.debian.org/security/2008/dsa-1632
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:184
- http://www.redhat.com/support/errata/RHSA-2008-0847.html
- http://www.redhat.com/support/errata/RHSA-2008-0848.html
- http://www.redhat.com/support/errata/RHSA-2008-0863.html
- http://www.securityfocus.com/archive/1/496033/100/0/threaded
- http://www.securityfocus.com/archive/1/497962/100/0/threaded
- http://www.securityfocus.com/bid/30832
- http://www.securitytracker.com/id?1020750
- http://www.ubuntu.com/usn/usn-639-1
- http://www.us-cert.gov/cas/techalerts/TA08-260A.html
- http://www.vmware.com/security/advisories/VMSA-2008-0017.html
- http://www.vupen.com/english/advisories/2008/2438
- http://www.vupen.com/english/advisories/2008/2584
- http://www.vupen.com/english/advisories/2008/2776
- http://www.vupen.com/english/advisories/2008/2971
- http://www.vupen.com/english/advisories/2008/3107
- http://www.vupen.com/english/advisories/2008/3232
- http://www.vupen.com/english/advisories/2009/2143
- https://bugzilla.redhat.com/show_bug.cgi?id=458674
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11489
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5514
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00102.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00121.html