Improper input validation in Mozilla Firefox
CVE-2018-12387
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. This vulnerability affects Firefox ESR < 60.2.2 and Firefox < 62.0.3.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.096, 95.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mozilla Firefox — versions unspecified
- Mozilla Firefox Esr — versions unspecified
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 9.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.5, 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 10 other repositories (addicjanov/js-vuln-db, ARPSyndicate/cvemon, lnick2023/nicenice, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- GLSA-201810-01 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/105460 (Third Party Advisory, VDB Entry, vdb-entry)
- USN-3778-1 (vendor-advisory, Third Party Advisory)
- bugzilla.mozilla.org/show_bug.cgi (Exploit, Patch, Issue Tracking, Vendor Advisory)
- DSA-4310 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2884 (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1041770 (Third Party Advisory, VDB Entry, vdb-entry)
- www.mozilla.org/security/advisories/mfsa2018-24/ (Vendor Advisory)
- RHSA-2018:2881 (vendor-advisory, Third Party Advisory)