Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1326246 - (CVE-2016-3990) CVE-2016-3990 libtiff: out-of-bounds write in horizontalDifference8()
CVE-2016-3990 libtiff: out-of-bounds write in horizontalDifference8()
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20160412,repo...
: Security
Depends On: 1299920 1299921 1335098 1335099
Blocks: 1316881
  Show dependency treegraph
 
Reported: 2016-04-12 05:00 EDT by Andrej Nemec
Modified: 2017-08-24 04:35 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-24 04:35:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1546 normal SHIPPED_LIVE Important: libtiff security update 2016-08-02 16:59:03 EDT
Red Hat Product Errata RHSA-2016:1547 normal SHIPPED_LIVE Important: libtiff security update 2016-08-02 16:39:45 EDT

  None (edit)
Description Andrej Nemec 2016-04-12 05:00:12 EDT
An out-of-bounds write flaw was found in libtiff v4.0.6 when using tiffcp command to handle malicious tiff file. The vulnerability exists in function horizontalDifference8()
An attacker could control the head data of next heap which contains pre_size field and size filed to result in DoS or potential code execution.

Vulnerable code:


Source info

============
1082           wp += n + stride - 1;     /* point to last one */
1083           ip += n + stride - 1;       /* point to last one */
1084           n -= stride;
1085           while (n > 0) {
1086              REPEAT(stride, wp[0] = CLAMP(ip[0]);
1087                            wp[stride] -= wp[0];
1088                            wp[stride] &= mask;
1089                            wp--; ip--)
1090              n -= stride;
1091           }
1092           REPEAT(stride, wp[0] = CLAMP(ip[0]); wp--; ip--)

References:

http://seclists.org/oss-sec/2016/q2/57


Upstream bug:

http://bugzilla.maptools.org/show_bug.cgi?id=2544
Comment 2 errata-xmlrpc 2016-08-02 12:41:56 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2016:1547 https://rhn.redhat.com/errata/RHSA-2016-1547.html
Comment 3 errata-xmlrpc 2016-08-02 13:01:19 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:1546 https://rhn.redhat.com/errata/RHSA-2016-1546.html
Comment 4 Even Rouault 2016-08-04 05:24:34 EDT
It would have been good to attach your patch to the upstream bug instead of letting libtiff maintainers to dig into the .src.rpm

Note You need to log in before you can comment on or make changes to this bug.