Bug 1635452 (CVE-2018-12387)

Summary: CVE-2018-12387 Mozilla: stack out-of-bounds read in Array.prototype.push
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: cschalle, gecko-bugs-nobody, jhorak, security-response-team, stransky, yozone
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: 2018-11-13 05:19:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1635173, 1635174, 1635175    
Bug Blocks: 1635177    

Description Doran Moppert 2018-10-02 23:19:29 UTC
A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push with multiple arguments that results in the stack pointer being off by 8 bytes after a bailout. This leaks a memory address to the calling function which can be used as part of an exploit inside the sandboxed content process.



External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2018-24/#CVE-2018-12387

Comment 1 Doran Moppert 2018-10-02 23:19:35 UTC
Acknowledgments:

Name: the Mozilla project
Upstream: Niklas Baumstark, Bruno Keith via Beyond Security's SecuriTeam Secure Disclosure program

Comment 3 errata-xmlrpc 2018-10-08 08:26:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2018:2881 https://access.redhat.com/errata/RHSA-2018:2881

Comment 4 errata-xmlrpc 2018-10-08 19:54:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:2884 https://access.redhat.com/errata/RHSA-2018:2884