CVE Vulnerabilities

CVE-2018-4218

Use After Free

Published: Jun 08, 2018 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 or cause a denial of service (memory corruption and application crash) via a crafted web site that triggers an @generatorState use-after-free.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
SafariApple*11.1.1 (excluding)
Iphone_osApple*11.4 (excluding)
TvosApple*11.4 (excluding)
WatchosApple*4.3.1 (excluding)
QtwebkitUbuntueoan*
Qtwebkit-opensource-srcUbuntuartful*
Qtwebkit-opensource-srcUbuntubionic*
Qtwebkit-opensource-srcUbuntucosmic*
Qtwebkit-opensource-srcUbuntudevel*
Qtwebkit-opensource-srcUbuntudisco*
Qtwebkit-opensource-srcUbuntueoan*
Qtwebkit-opensource-srcUbuntuesm-apps/bionic*
Qtwebkit-opensource-srcUbuntuesm-apps/focal*
Qtwebkit-opensource-srcUbuntuesm-apps/jammy*
Qtwebkit-opensource-srcUbuntuesm-apps/noble*
Qtwebkit-opensource-srcUbuntuesm-infra/xenial*
Qtwebkit-opensource-srcUbuntufocal*
Qtwebkit-opensource-srcUbuntugroovy*
Qtwebkit-opensource-srcUbuntuhirsute*
Qtwebkit-opensource-srcUbuntuimpish*
Qtwebkit-opensource-srcUbuntujammy*
Qtwebkit-opensource-srcUbuntukinetic*
Qtwebkit-opensource-srcUbuntulunar*
Qtwebkit-opensource-srcUbuntumantic*
Qtwebkit-opensource-srcUbuntunoble*
Qtwebkit-opensource-srcUbuntutrusty*
Qtwebkit-opensource-srcUbuntuupstream*
Qtwebkit-opensource-srcUbuntuxenial*
Qtwebkit-sourceUbuntuartful*
Qtwebkit-sourceUbuntubionic*
Qtwebkit-sourceUbuntucosmic*
Qtwebkit-sourceUbuntudisco*
Qtwebkit-sourceUbuntuesm-apps/bionic*
Qtwebkit-sourceUbuntuesm-apps/xenial*
Qtwebkit-sourceUbuntutrusty*
Qtwebkit-sourceUbuntuxenial*
Webkit2gtkUbuntuartful*
Webkit2gtkUbuntubionic*
Webkit2gtkUbuntuesm-infra/bionic*
Webkit2gtkUbuntuesm-infra/xenial*
Webkit2gtkUbuntuupstream*
Webkit2gtkUbuntuxenial*
WebkitgtkUbuntuartful*
WebkitgtkUbuntubionic*
WebkitgtkUbuntucosmic*
WebkitgtkUbuntuesm-apps/bionic*
WebkitgtkUbuntuesm-apps/xenial*
WebkitgtkUbuntutrusty*
WebkitgtkUbuntuxenial*

Potential Mitigations

References