Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1405148 - (CVE-2016-9583) CVE-2016-9583 jasper: integer overflows leading to out of bounds read in packet iterators in JPC decoder
CVE-2016-9583 jasper: integer overflows leading to out of bounds read in pack...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20161209,reported=2...
: Security
Depends On: 1405152 1405149 1405150 1405151 1439171 1439172 1439173 1439174
Blocks: 1314477
  Show dependency treegraph
 
Reported: 2016-12-15 12:06 EST by Adam Mariš
Modified: 2017-05-09 17:40 EDT (History)
29 users (show)

See Also:
Fixed In Version: jasper 2.0.6
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-09 17:40:26 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-2017:1208 normal SHIPPED_LIVE Important: jasper security update 2017-05-09 17:13:57 EDT

  None (edit)
Description Adam Mariš 2016-12-15 12:06:04 EST
An out-of-bounds heap read vulnerability was found in jpc_pi_nextpcrl() function of jasper when processing crafted input.

Upstream bug:

https://github.com/mdadams/jasper/issues/103

Upstream patch:

https://github.com/mdadams/jasper/commit/99a50593254d1b53002719bbecfc946c84b23d27

Acknowledgments:

Name: Liu Bingchang (IIE)
Comment 1 Adam Mariš 2016-12-15 12:06:58 EST
Created mingw-jasper tracking bugs for this issue:

Affects: fedora-all [bug 1405150]
Affects: epel-7 [bug 1405152]
Comment 2 Adam Mariš 2016-12-15 12:07:18 EST
Created jasper tracking bugs for this issue:

Affects: fedora-all [bug 1405149]
Affects: epel-5 [bug 1405151]
Comment 4 Tomas Hoger 2017-03-30 17:29:24 EDT
The original problem was with integer overflows, which lead to out-of-bounds access.  That problem was originally addressed in jasper version 2.0.0 via this commit:

https://github.com/mdadams/jasper/commit/aa0b0f79ade5eef8b0e7a214c03f5af54b36ba7d

Shortly after the above commit, it was found that it introduced a bug into the jpc_pi_nextrpcl() function, which was corrected via this commit (still in version 2.0.0):

https://github.com/mdadams/jasper/commit/f25486c3d4aa472fec79150f2c41ed4333395d3d

These commits were apparently triggered by this upstream bug:

https://github.com/mdadams/jasper/issues/94


This upstream bug:

https://github.com/mdadams/jasper/issues/103

reports similar issue to what was fixed in the jpc_pi_nextrpcl() function via f25486c, this time in the jpc_pi_nextpcrl() function.  This was corrected upstream via this commit (also linked in comment 0 above):

https://github.com/mdadams/jasper/commit/99a50593254d1b53002719bbecfc946c84b23d27

This fix was included in upstream jasper version 2.0.6.
Comment 5 errata-xmlrpc 2017-05-09 13:20:45 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2017:1208 https://access.redhat.com/errata/RHSA-2017:1208

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