Bug 1539847 (CVE-2018-6191)

Summary: CVE-2018-6191 mujs: Interger overflow in js_strtod function in jsdtoa.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: psabata
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:38:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1539848, 1539873    
Bug Blocks:    

Description Pedro Sampaio 2018-01-29 17:59:58 UTC
The js_strtod function in jsdtoa.c in Artifex MuJS through 1.0.2 has an integer overflow because of incorrect exponent validation.

Upstream bug:

https://bugs.ghostscript.com/show_bug.cgi?id=698920

Upstream patch:

http://git.ghostscript.com/?p=mujs.git;a=commit;h=25821e6d74fab5fcc200fe5e818362e03e114428

Comment 1 Pedro Sampaio 2018-01-29 18:00:23 UTC
Created mupdf tracking bugs for this issue:

Affects: fedora-all [bug 1539848]

Comment 2 Pedro Sampaio 2018-01-29 18:53:45 UTC
Created mujs tracking bugs for this issue:

Affects: fedora-all [bug 1539873]

Comment 3 Product Security DevOps Team 2019-06-08 03:38:37 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.