CVE-2018-4382
published 2019-04-03CVE-2018-4382: Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari…
PriorityP258high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
5.83%
92.3th percentile
Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari 12.0.1, iTunes 12.9.1, iCloud for Windows 7.8.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | icloud | < 7.8 | 7.8 |
| apple | icloud_for_windows | — | — |
| apple | ios | — | — |
| apple | iphone_os | < 12.1 | 12.1 |
| apple | itunes | < 12.9.1 | 12.9.1 |
| apple | itunes_12.9.1_for_windows | — | — |
| apple | safari | < 12.0.1 | 12.0.1 |
| apple | safari | — | — |
| apple | tvos | < 12.1 | 12.1 |
| apple | tvos | — | — |
| apple | watchos | < 5.1 | 5.1 |
| apple | watchos | — | — |
| debian | webkit2gtk | < webkit2gtk 2.22.1-1 (bookworm) | webkit2gtk 2.22.1-1 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger pattern: a getter on Array.prototype is defined using __defineGetter__ pointing to Array.prototype.push, then a JIT-compiled function accesses the getter via a computed property (e.g., arr['a' + '']) on an Array instance iterated >1000 times to trigger JIT compilation — look for this pattern in JavaScript engine telemetry or script content inspection. ↗
- →Root cause is in WebKit's ByteCodeParser::handleIntrinsicCall — the ArrayPushIntrinsic handler (and similarly ArraySliceIntrinsic, ArrayIndexOfIntrinsic, ArrayPopIntrinsic) incorrectly assumes the current instruction is always op_call, but can be reached via op_get_by_id or op_get_by_val (getter path), causing type confusion and OOB read. Detection should flag JIT paths where array intrinsics are invoked through getter dispatch. ↗
- →Exploitation vector is 'processing maliciously crafted web content' leading to arbitrary code execution via WebKit — monitor for suspicious web content delivery targeting WebKit-based browsers/apps on unpatched iOS <12.1, tvOS <12.1, watchOS <5.1, Safari <12.0.1, iTunes <12.9.1, iCloud for Windows <7.8. ↗
- ·The vulnerability is a JIT compiler type confusion — it only triggers after sufficient JIT compilation iterations (loop threshold ~1000). Detection based solely on static script content may miss obfuscated or split variants that achieve the same JIT path through different surface syntax. ↗
- ·The same vulnerable code pattern exists in four intrinsic handlers (ArrayPushIntrinsic, ArraySliceIntrinsic, ArrayIndexOfIntrinsic, ArrayPopIntrinsic), meaning detection rules should not be limited to Array.prototype.push getter abuse alone. ↗
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.
Apple
CVE-2018-4382: iTunes 12.9.1 for Windows
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: iTunes 12.9.1 for Windows
Apple Security Update: About the security content of iTunes 12.9.1 for Windows
Product: iTunes 12.9.1 for Windows
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2018-4382: iOS 12.1
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: iOS 12.1
Apple Security Update: About the security content of iOS 12.1
Product: iOS
Version: 12.1
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2018-4382: watchOS 5.1
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: watchOS 5.1
Apple Security Update: About the security content of watchOS 5.1
Product: watchOS
Version: 5.1
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2018-4382: tvOS 12.1
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: tvOS 12.1
Apple Security Update: About the security content of tvOS 12.1
Product: tvOS
Version: 12.1
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2018-4382: Safari 12.0.1
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: Safari 12.0.1
Apple Security Update: About the security content of Safari 12.0.1
Product: Safari
Version: 12.0.1
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Apple
CVE-2018-4382: iCloud for Windows 7.8
vendor_apple·2018-10-30·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: iCloud for Windows 7.8
Apple Security Update: About the security content of iCloud for Windows 7.8
Product: iCloud for Windows
Version: 7.8
CVE: CVE-2018-4382
Component: WebKit
Impact: Processing maliciously crafted web content may lead to arbitrary code execution
Description: Multiple memory corruption issues were addressed with improved memory handling.
Debian
CVE-2018-4382: webkit2gtk - Multiple memory corruption issues were addressed with improved memory handling. ...
vendor_debian·2018·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: webkit2gtk - Multiple memory corruption issues were addressed with improved memory handling. ...
Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari 12.0.1, iTunes 12.9.1, iCloud for Windows 7.8.
Scope: local
bookworm: resolved (fixed in 2.22.1-1)
bullseye: resolved (fixed in 2.22.1-1)
forky: resolved (fixed in 2.22.1-1)
sid: resolved (fixed in 2.22.1-1)
trixie: resolved (fixed in 2.22.1-1)
GHSA
GHSA-gppm-h73v-3rx6: Multiple memory corruption issues were addressed with improved memory handling
ghsa_unreviewed·2022-05-14
CVE-2018-4382 [HIGH] CWE-119 GHSA-gppm-h73v-3rx6: Multiple memory corruption issues were addressed with improved memory handling
Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari 12.0.1, iTunes 12.9.1, iCloud for Windows 7.8.
OSV
CVE-2018-4382: Multiple memory corruption issues were addressed with improved memory handling
osv·2019-04-03·CVSS 8.8
CVE-2018-4382 [HIGH] CVE-2018-4382: Multiple memory corruption issues were addressed with improved memory handling
Multiple memory corruption issues were addressed with improved memory handling. This issue affected versions prior to iOS 12.1, tvOS 12.1, watchOS 5.1, Safari 12.0.1, iTunes 12.9.1, iCloud for Windows 7.8.
No detection rules found.
No writeups or analysis indexed.
https://support.apple.com/kb/HT209192https://support.apple.com/kb/HT209194https://support.apple.com/kb/HT209195https://support.apple.com/kb/HT209196https://support.apple.com/kb/HT209197https://support.apple.com/kb/HT209198https://support.apple.com/kb/HT209192https://support.apple.com/kb/HT209194https://support.apple.com/kb/HT209195https://support.apple.com/kb/HT209196https://support.apple.com/kb/HT209197https://support.apple.com/kb/HT209198
2019-04-03
Published