mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
3c61ee2f68
CVE-2016-3632 libtiff: The _TIFFVGetField function in tif_dirinfo.c in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image. External References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3632 http://bugzilla.maptools.org/show_bug.cgi?id=2549 https://bugzilla.redhat.com/show_bug.cgi?id=1325095 The patch is from RHEL7. (From OE-Core rev: 9206c86239717718be840a32724fd1c190929370) (From OE-Core rev: 0c6928f4129e5b1e24fa2d42279353e9d15d39f0) (From OE-Core rev: f10cef0119c3bcf5b23a142f131a2d452ef2b837) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From d3f9829a37661749b200760ad6525f77cf77d77a Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
|
Date: Mon, 11 Jul 2016 16:04:34 +0200
|
|
Subject: [PATCH 4/8] Fix CVE-2016-3632
|
|
|
|
CVE-2016-3632 libtiff: The _TIFFVGetField function in tif_dirinfo.c in
|
|
LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service
|
|
(out-of-bounds write) or execute arbitrary code via a crafted TIFF image.
|
|
|
|
CVE: CVE-2016-3632
|
|
Upstream-Status: Backport [RedHat RHEL7]
|
|
|
|
Signed-off-by: Yi Zhao <yi.zhao@windirver.com>
|
|
---
|
|
tools/thumbnail.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/thumbnail.c b/tools/thumbnail.c
|
|
index fd1cba5..75e7009 100644
|
|
--- a/tools/thumbnail.c
|
|
+++ b/tools/thumbnail.c
|
|
@@ -253,7 +253,8 @@ static struct cpTag {
|
|
{ TIFFTAG_WHITEPOINT, 2, TIFF_RATIONAL },
|
|
{ TIFFTAG_PRIMARYCHROMATICITIES, (uint16) -1,TIFF_RATIONAL },
|
|
{ TIFFTAG_HALFTONEHINTS, 2, TIFF_SHORT },
|
|
- { TIFFTAG_BADFAXLINES, 1, TIFF_LONG },
|
|
+ // disable BADFAXLINES, CVE-2016-3632
|
|
+ //{ TIFFTAG_BADFAXLINES, 1, TIFF_LONG },
|
|
{ TIFFTAG_CLEANFAXDATA, 1, TIFF_SHORT },
|
|
{ TIFFTAG_CONSECUTIVEBADFAXLINES, 1, TIFF_LONG },
|
|
{ TIFFTAG_INKSET, 1, TIFF_SHORT },
|
|
--
|
|
2.7.4
|
|
|