Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645980 (CVE-2017-11335) - <media-libs/tiff-4.0.9: Heap-based buffer overflow in tiff2pdf (CVE-2017-11335)
Summary: <media-libs/tiff-4.0.9: Heap-based buffer overflow in tiff2pdf (CVE-2017-11335)
Status: RESOLVED FIXED
Alias: CVE-2017-11335
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://security-tracker.debian.org/t...
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-28 17:44 UTC by Ian Zimmerman
Modified: 2018-04-22 20:57 UTC (History)
0 users

See Also:
Package list:
media-libs/tiff-4.0.9-r3
Runtime testing required: No
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Zimmerman 2018-01-28 17:44:40 UTC
Quoting ${URL}:

There is a heap based buffer overflow in tools/tiff2pdf.c of LibTIFF 4.0.8 via a PlanarConfig=Contig image, which causes a more than one hundred bytes out-of-bounds write (related to the ZIPDecode function in tif_zip.c). A crafted input may lead to a remote denial of service attack or an arbitrary code execution attack.

Supposed upstream fix:
https://github.com/vadz/libtiff/commit/69bfeec247899776b1b396651adb47436e5f1556


Reproducible: Always
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2018-03-23 22:17:03 UTC
@arches, please stabilize.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-03-24 08:07:23 UTC
amd64 stable
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-24 11:16:26 UTC
ia64 stable
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-03-25 22:46:41 UTC
x86 stable
Comment 5 Larry the Git Cow gentoo-dev 2018-03-28 19:32:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542781819736c4c792791801438b72d42aafb105

commit 542781819736c4c792791801438b72d42aafb105
Author:     Rolf Eike Beer <eike@sf-mail.de>
AuthorDate: 2018-03-28 18:35:15 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-03-28 19:32:16 +0000

    media-libs/tiff: stable 4.0.9-r3 for sparc
    
    Bug: https://bugs.gentoo.org/645980
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    RepoMan-Options: --include-arches="sparc"

 media-libs/tiff/tiff-4.0.9-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 6 Mart Raudsepp gentoo-dev 2018-03-28 19:47:45 UTC
arm64 stable
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2018-03-30 20:21:42 UTC
ppc64 stable
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2018-03-31 14:18:22 UTC
Stable on alpha.
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-01 14:24:00 UTC
ppc stable
Comment 10 Markus Meier gentoo-dev 2018-04-08 10:50:44 UTC
arm stable
Comment 11 Matt Turner gentoo-dev 2018-04-22 19:17:49 UTC
hppa stable
Comment 12 Aaron Bauman (RETIRED) gentoo-dev 2018-04-22 20:57:43 UTC
cleanup and glsa will happen in bug 624696