CVE-2018-12387
published 2018-10-18CVE-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…
PriorityP346critical9.1CVSS 3.0
AVNACLPRNUINSUCHINAH
EPSS
9.59%
94.9th percentile
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | firefox | < firefox 62.0.3-1 (sid) | firefox 62.0.3-1 (sid) |
| debian | firefox-esr | < firefox 62.0.3-1 (sid) | firefox 62.0.3-1 (sid) |
| mozilla | firefox | < 60.2.2 | 60.2.2 |
| mozilla | firefox | < 62.0.3 | 62.0.3 |
| mozilla | firefox | >= 0 < 62.0.3+build1-0ubuntu0.14.04.2 | 62.0.3+build1-0ubuntu0.14.04.2 |
| mozilla | firefox | >= 0 < 62.0.3+build1-0ubuntu0.16.04.2 | 62.0.3+build1-0ubuntu0.16.04.2 |
| mozilla | firefox | >= 0 < 62.0.3+build1-0ubuntu0.18.04.1 | 62.0.3+build1-0ubuntu0.18.04.1 |
| mozilla | firefox | >= unspecified < 62.0.3 | 62.0.3 |
| mozilla | firefox_esr | >= unspecified < 60.2.2 | 60.2.2 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
vendor_ubuntu7.0HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-vfrp-p8qm-9m8x: A vulnerability where the JavaScript JIT compiler inlines Array
ghsa_unreviewed·2022-05-14
CVE-2018-12387 [CRITICAL] CWE-20 GHSA-vfrp-p8qm-9m8x: A vulnerability where the JavaScript JIT compiler inlines Array
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.
OSV
CVE-2018-12387: A vulnerability where the JavaScript JIT compiler inlines Array
osv·2018-10-18·CVSS 9.1
CVE-2018-12387 [CRITICAL] CVE-2018-12387: A vulnerability where the JavaScript JIT compiler inlines Array
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.
OSV
firefox vulnerabilities
osv·2018-10-03·CVSS 7.0
CVE-2018-12385 [HIGH] firefox vulnerabilities
firefox vulnerabilities
A crash was discovered in TransportSecurityInfo used for SSL, which could
be triggered by data stored in the local cache directory. An attacker
could potentially exploit this in combination with another vulnerability
that allowed them to write data to the cache, to execute arbitrary code.
(CVE-2018-12385)
A type confusion bug was discovered in JavaScript. If a user were tricked
in to opening a specially crafted website, an attacker could exploit this
to cause a denial of service, or execute arbitrary code. (CVE-2018-12386)
It was discovered that the Array.prototype.push could leak memory
addresses to the calling function in some circumstances. An attacker could
exploit this in combination with another vulnerability to help execute
arbitrary code. (CVE-2018-12387)
Ubuntu
Firefox vulnerabilities
vendor_ubuntu·2018-10-03·CVSS 7.0
CVE-2018-12385 [HIGH] Firefox vulnerabilities
Title: Firefox vulnerabilities
Summary: Firefox could be made to crash or run programs as your login if it
opened a malicious website.
A crash was discovered in TransportSecurityInfo used for SSL, which could
be triggered by data stored in the local cache directory. An attacker
could potentially exploit this in combination with another vulnerability
that allowed them to write data to the cache, to execute arbitrary code.
(CVE-2018-12385)
A type confusion bug was discovered in JavaScript. If a user were tricked
in to opening a specially crafted website, an attacker could exploit this
to cause a denial of service, or execute arbitrary code. (CVE-2018-12386)
It was discovered that the Array.prototype.push could leak memory
addresses to the calling function in some circumstances. An attack
Red Hat
Mozilla: stack out-of-bounds read in Array.prototype.push
vendor_redhat·2018-10-02·CVSS 9.1
CVE-2018-12387 [CRITICAL] CWE-125 Mozilla: stack out-of-bounds read in Array.prototype.push
Mozilla: stack out-of-bounds read in Array.prototype.push
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.
Package: thunderbird (Red Hat Enterprise Linux 6) - Not affected
Package: thunderbird (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2018-12387: firefox - A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push w...
vendor_debian·2018·CVSS 9.1
CVE-2018-12387 [CRITICAL] CVE-2018-12387: firefox - A vulnerability where the JavaScript JIT compiler inlines Array.prototype.push w...
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.
Scope: local
sid: resolved (fixed in 62.0.3-1)
No detection rules found.
No public exploits indexed.
http://www.securityfocus.com/bid/105460http://www.securitytracker.com/id/1041770https://access.redhat.com/errata/RHSA-2018:2881https://access.redhat.com/errata/RHSA-2018:2884https://bugzilla.mozilla.org/show_bug.cgi?id=1493903https://security.gentoo.org/glsa/201810-01https://usn.ubuntu.com/3778-1/https://www.debian.org/security/2018/dsa-4310https://www.mozilla.org/security/advisories/mfsa2018-24/http://www.securityfocus.com/bid/105460http://www.securitytracker.com/id/1041770https://access.redhat.com/errata/RHSA-2018:2881https://access.redhat.com/errata/RHSA-2018:2884https://bugzilla.mozilla.org/show_bug.cgi?id=1493903https://security.gentoo.org/glsa/201810-01https://usn.ubuntu.com/3778-1/https://www.debian.org/security/2018/dsa-4310https://www.mozilla.org/security/advisories/mfsa2018-24/
2018-10-18
Published