CVE-2018-4222
published 2018-06-08CVE-2018-4222: An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected…
PriorityP266high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
10.51%
95.3th percentile
An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code via a crafted web site that leverages a getWasmBufferFromValue out-of-bounds read during WebAssembly compilation.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | icloud | < 7.5 | 7.5 |
| apple | icloud_for_windows | — | — |
| apple | ios | — | — |
| apple | iphone_os | < 11.4 | 11.4 |
| apple | itunes | < 12.7.5 | 12.7.5 |
| apple | itunes_12.7.5_for_windows | — | — |
| apple | safari | < 11.1.1 | 11.1.1 |
| apple | safari | — | — |
| apple | tvos | < 11.4 | 11.4 |
| apple | tvos | — | — |
| apple | watchos | < 4.3.1 | 4.3.1 |
| apple | watchos | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | webkit2gtk | < webkit2gtk 2.20.3-1 (bookworm) | webkit2gtk 2.20.3-1 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
commandvar b2 = new ArrayBuffer(1000); var view = new Int8Array(b2, 700); var mod = new WebAssembly.Module(a);↗
- →Look for WebAssembly.Module instantiation in JavaScript where the source buffer is constructed from a TypedArray or DataView with a non-zero byte offset (e.g., new Int8Array(buffer, offset)), which triggers the double-offset out-of-bounds read in getWasmBufferFromValue during WebAssembly compilation. ↗
- →Flag crafted web content that passes a TypedArray or DataView view (with non-zero offset) directly to WebAssembly.Module() — this is the minimal trigger pattern for the CVE-2018-4222 heap out-of-bounds read / info leak leading to arbitrary code execution. ↗
- ·The exploit requires the victim to visit a crafted web page in a vulnerable WebKit-based browser; no network-level IOC (domain, IP, URL) is associated with the vulnerability itself — detection must focus on JavaScript/WebAssembly payload patterns at the content layer. ↗
- ·The out-of-bounds read can manifest as either a parsing exception or silent data exfiltration via data sections copied from off-heap memory, making purely crash-based detection insufficient. ↗
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
CVEs like this are exactly what “Exploited This Week” covers.
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.
Ubuntu
WebKitGTK+ vulnerabilities
vendor_ubuntu·2018-06-18
CVE-2018-12293 WebKitGTK+ vulnerabilities
Title: WebKitGTK+ vulnerabilities
Summary: Several security issues were fixed in WebKitGTK+.
A large number of security issues were discovered in the WebKitGTK+ Web and
JavaScript engines. If a user were tricked into viewing a malicious
website, a remote attacker could exploit a variety of issues related to web
browser security, including cross-site scripting attacks, denial of service
attacks, and arbitrary code execution.
Instructions: This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart any applications
that use WebKitGTK+, such as Epiphany, to make all the necessary changes.
Apple
CVE-2018-4222: Safari 11.1.1
vendor_apple·2018-06-01·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: Safari 11.1.1
Apple Security Update: About the security content of Safari 11.1.1
Product: Safari
Version: 11.1.1
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Apple
CVE-2018-4222: iCloud for Windows 7.5
vendor_apple·2018-06-01·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: iCloud for Windows 7.5
Apple Security Update: About the security content of iCloud for Windows 7.5
Product: iCloud for Windows
Version: 7.5
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Apple
CVE-2018-4222: tvOS 11.4
vendor_apple·2018-05-29·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: tvOS 11.4
Apple Security Update: About the security content of tvOS 11.4
Product: tvOS
Version: 11.4
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Apple
CVE-2018-4222: iTunes 12.7.5 for Windows
vendor_apple·2018-05-29·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: iTunes 12.7.5 for Windows
Apple Security Update: About the security content of iTunes 12.7.5 for Windows
Product: iTunes 12.7.5 for Windows
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Apple
CVE-2018-4222: watchOS 4.3.1
vendor_apple·2018-05-29·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: watchOS 4.3.1
Apple Security Update: About the security content of watchOS 4.3.1
Product: watchOS
Version: 4.3.1
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Apple
CVE-2018-4222: iOS 11.4
vendor_apple·2018-05-29·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: iOS 11.4
Apple Security Update: About the security content of iOS 11.4
Product: iOS
Version: 11.4
CVE: CVE-2018-4222
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: An out-of-bounds read was addressed with improved input validation.
Debian
CVE-2018-4222: webkit2gtk - An issue was discovered in certain Apple products. iOS before 11.4 is affected. ...
vendor_debian·2018·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: webkit2gtk - An issue was discovered in certain Apple products. iOS before 11.4 is affected. ...
An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code via a crafted web site that leverages a getWasmBufferFromValue out-of-bounds read during WebAssembly compilation.
Scope: local
bookworm: resolved (fixed in 2.20.3-1)
bullseye: resolved (fixed in 2.20.3-1)
forky: resolved (fixed in 2.20.3-1)
sid: resolved (fixed in 2.20.3-1)
trixie: resolved (fixed in 2.20.3-1)
GHSA
GHSA-8g33-v26p-4g88: An issue was discovered in certain Apple products
ghsa_unreviewed·2022-05-14
CVE-2018-4222 [HIGH] CWE-125 GHSA-8g33-v26p-4g88: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code via a crafted web site that leverages a getWasmBufferFromValue out-of-bounds read during WebAssembly compilation.
Project0
The Problems and Promise of WebAssembly - Project Zero
project_zero·2018-08-01
CVE-2018-4121 The Problems and Promise of WebAssembly - Project Zero
Posted by Natalie Silvanovich, Project Zero
WebAssembly is a format that allows code written in assembly-like instructions to be run from JavaScript. It has recently been implemented in all four major browsers. We reviewed each browser’s WebAssembly implementation and found three vulnerabilities. This blog post gives an overview of the features and attack surface of WebAssembly, as well as the vulnerabilities we found.
##
Building WebAssembly
A number of tools can be used to write WebAssembly code. An important goal of the designers of the format is to be able to compile C and C++ into WebAssembly, and compilers exist to do so. It is likely that other languages will compile into WebAssembly in the future. It is also possible to write WebAssembly in WebAssembly text format which is a d
OSV
CVE-2018-4222: An issue was discovered in certain Apple products
osv·2018-06-08·CVSS 8.8
CVE-2018-4222 [HIGH] CVE-2018-4222: An issue was discovered in certain Apple products
An issue was discovered in certain Apple products. iOS before 11.4 is affected. Safari before 11.1.1 is affected. iCloud before 7.5 on Windows is affected. iTunes before 12.7.5 on Windows is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to execute arbitrary code via a crafted web site that leverages a getWasmBufferFromValue out-of-bounds read during WebAssembly compilation.
No detection rules found.
No writeups or analysis indexed.
http://www.securitytracker.com/id/1041029https://bugs.chromium.org/p/project-zero/issues/detail?id=1545https://security.gentoo.org/glsa/201808-04https://support.apple.com/HT208848https://support.apple.com/HT208850https://support.apple.com/HT208851https://support.apple.com/HT208852https://support.apple.com/HT208853https://support.apple.com/HT208854https://usn.ubuntu.com/3687-1/https://www.exploit-db.com/exploits/44859/http://www.securitytracker.com/id/1041029https://bugs.chromium.org/p/project-zero/issues/detail?id=1545https://security.gentoo.org/glsa/201808-04https://support.apple.com/HT208848https://support.apple.com/HT208850https://support.apple.com/HT208851https://support.apple.com/HT208852https://support.apple.com/HT208853https://support.apple.com/HT208854https://usn.ubuntu.com/3687-1/https://www.exploit-db.com/exploits/44859/
2018-06-08
Published