Heap-based Buffer Overflow Affecting libtiff-devel package, versions <0:4.0.3-32.el7
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.31% (70th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-LIBTIFFDEVEL-1511488
- published 26 Jul 2021
- disclosed 17 Mar 2018
Introduced: 17 Mar 2018
CVE-2018-8905 Open this link in a new tabHow to fix?
Upgrade RHEL:7
libtiff-devel
to version 0:4.0.3-32.el7 or higher.
This issue was patched in RHSA-2019:2053
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libtiff-devel
package and not the libtiff-devel
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
In LibTIFF 4.0.9, a heap-based buffer overflow occurs in the function LZWDecodeCompat in tif_lzw.c via a crafted TIFF file, as demonstrated by tiff2ps.
References
- https://gitlab.com/libtiff/libtiff/commit/58a898cb4459055bb488ca815c23b880c242a27d
- https://access.redhat.com/security/cve/CVE-2018-8905
- https://www.debian.org/security/2018/dsa-4349
- http://bugzilla.maptools.org/show_bug.cgi?id=2780
- https://github.com/halfbitteam/POCs/tree/master/libtiff-4.08_tiff2ps_heap_overflow
- https://lists.debian.org/debian-lts-announce/2018/05/msg00008.html
- https://lists.debian.org/debian-lts-announce/2018/05/msg00009.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00002.html
- https://access.redhat.com/errata/RHSA-2019:2053
- https://usn.ubuntu.com/3864-1/