Bug 1045450 (CVE-2017-9782) - VUL-1: CVE-2017-9782: jasper: DoS via crafted image, related to thejp2_decode function in libjasper/jp2/jp2_dec.c.
Summary: VUL-1: CVE-2017-9782: jasper: DoS via crafted image, related to thejp2_decode...
Status: RESOLVED FIXED
Alias: CVE-2017-9782
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/187185/
Whiteboard: CVSSv2:SUSE:CVE-2017-9782:4.3:(AV:N/A...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 05:59 UTC by Johannes Segitz
Modified: 2023-12-20 14:50 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Reproducer (357 bytes, image/jp2)
2017-06-22 05:59 UTC, Johannes Segitz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Segitz 2017-06-22 05:59:16 UTC
Created attachment 729785 [details]
Reproducer

CVE-2017-9782

JasPer 2.0.12 allows remote attackers to cause a denial of service (heap-based
buffer over-read and application crash) via a crafted image, related to the
jp2_decode function in libjasper/jp2/jp2_dec.c.

Reproducer:
valgrind jasper --input 026-jasper-jps_decode-heapoverflow --output /tmp/1.ppm --output-format pnm

Jasper binary from Leap 42.2. SLE 12 affected, older versions unclear.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-9782
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-9782.html
http://www.cvedetails.com/cve/CVE-2017-9782/
https://github.com/mdadams/jasper/issues/140
Comment 3 Michael Vetter 2020-06-29 07:26:38 UTC
This seems to be a duplicate of bsc#1117328 - (CVE-2018-19543).
Fix: https://github.com/MaxKellermann/jasper/commit/839b1bcf0450ff036c28e8db40a7abf886e02891

Will backport once we have all fixes in our new upstream.
Comment 4 Michael Vetter 2020-08-17 09:42:30 UTC
Fix https://github.com/MaxKellermann/jasper/commit/839b1bcf0450ff036c28e8db40a7abf886e02891

jasper-CVE-2018-19543-CVE-2017-9782.patch in home:mvetter:jasper-cves.
Will submit once more issues are fixed.
Comment 7 Swamp Workflow Management 2020-09-21 13:15:59 UTC
SUSE-SU-2020:2690-1: An update that fixes 17 vulnerabilities is now available.

Category: security (low)
Bug References: 1010786,1010979,1010980,1011829,1020451,1020456,1020458,1020460,1045450,1057152,1088278,1092115,1114498,1115637,1117328,1120805,1120807
CVE References: CVE-2016-9397,CVE-2016-9398,CVE-2016-9399,CVE-2016-9557,CVE-2017-14132,CVE-2017-5499,CVE-2017-5503,CVE-2017-5504,CVE-2017-5505,CVE-2017-9782,CVE-2018-18873,CVE-2018-19139,CVE-2018-19543,CVE-2018-20570,CVE-2018-20622,CVE-2018-9154,CVE-2018-9252
JIRA References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    jasper-1.900.14-195.22.1
SUSE Linux Enterprise Server 12-SP5 (src):    jasper-1.900.14-195.22.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2020-09-21 13:23:08 UTC
SUSE-SU-2020:2689-1: An update that fixes 14 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1010979,1010980,1020451,1020456,1020458,1020460,1045450,1057152,1088278,1114498,1115637,1117328,1120805,1120807
CVE References: CVE-2016-9398,CVE-2016-9399,CVE-2017-14132,CVE-2017-5499,CVE-2017-5503,CVE-2017-5504,CVE-2017-5505,CVE-2017-9782,CVE-2018-18873,CVE-2018-19139,CVE-2018-19543,CVE-2018-20570,CVE-2018-20622,CVE-2018-9252
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP1 (src):    jasper-2.0.14-3.16.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP2 (src):    jasper-2.0.14-3.16.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP1 (src):    jasper-2.0.14-3.16.1
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    jasper-2.0.14-3.16.1
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    jasper-2.0.14-3.16.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Swamp Workflow Management 2020-09-24 16:18:48 UTC
openSUSE-SU-2020:1517-1: An update that fixes 14 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1010979,1010980,1020451,1020456,1020458,1020460,1045450,1057152,1088278,1114498,1115637,1117328,1120805,1120807
CVE References: CVE-2016-9398,CVE-2016-9399,CVE-2017-14132,CVE-2017-5499,CVE-2017-5503,CVE-2017-5504,CVE-2017-5505,CVE-2017-9782,CVE-2018-18873,CVE-2018-19139,CVE-2018-19543,CVE-2018-20570,CVE-2018-20622,CVE-2018-9252
JIRA References: 
Sources used:
openSUSE Leap 15.1 (src):    jasper-2.0.14-lp151.4.9.1
Comment 10 Swamp Workflow Management 2020-09-25 10:18:45 UTC
openSUSE-SU-2020:1523-1: An update that fixes 14 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1010979,1010980,1020451,1020456,1020458,1020460,1045450,1057152,1088278,1114498,1115637,1117328,1120805,1120807
CVE References: CVE-2016-9398,CVE-2016-9399,CVE-2017-14132,CVE-2017-5499,CVE-2017-5503,CVE-2017-5504,CVE-2017-5505,CVE-2017-9782,CVE-2018-18873,CVE-2018-19139,CVE-2018-19543,CVE-2018-20570,CVE-2018-20622,CVE-2018-9252
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    jasper-2.0.14-lp152.7.3.1
Comment 11 Alexandros Toptsoglou 2020-10-27 15:27:49 UTC
DONE
Comment 12 OBSbugzilla Bot 2023-10-30 19:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1045450) was mentioned in
https://build.opensuse.org/request/show/1121278 Factory / jasper