CVE-2024-23222: Apple Multiple Products WebKit Type Confusion
Apple Multiple Products · listed in the CISA catalog of actively exploited vulnerabilities since 2024-01-23.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 11%
- higher than 96% of all CVEs
- Added to CISA KEV
- 2024-01-23
- US federal due date 2024-02-13
- Ubuntu priority
- medium
CVE-2024-23222 explained
CVE-2024-23222 is a type confusion flaw in WebKit. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been exploited, and CISA lists it in its Known Exploited Vulnerabilities catalog. Linux systems that ship WebKit-based packages are affected.
Impact
An attacker can deliver crafted web content over the network without needing any privileges. A user or application must process that content, so user interaction is required. If successful, the attacker may achieve arbitrary code execution, with high impact on confidentiality, integrity and availability. Attack complexity is low. CISA lists the flaw as known exploited. Whether it has been used in ransomware campaigns is unknown.
Who is affected
Fixed: webkit2gtk in Debian 12 (bookworm) at 2.42.5-1~deb12u1 and in Ubuntu 22.04 LTS at 2.42.5-0ubuntu0.22.04.2. No fixed version is published for wpewebkit on Debian 12 and Ubuntu 22.04 LTS, or for qtwebkit-opensource-src on Ubuntu 22.04 LTS and 24.04 LTS. On Ubuntu 18.04 LTS and 20.04 LTS, the listed WebKit packages have no fix. These releases receive fixes only through Ubuntu Pro (ESM). Ubuntu 16.04 LTS is end of life and its listed packages have no fixed version.
Written with AI from the data on this page and checked against it automatically.
Official description
A type confusion issue was addressed with improved checks.
This issue is fixed in iOS 17.3 and iPadOS 17.3, macOS Sonoma 14.3, tvOS 17.3, iOS 16.7.5 and iPadOS 16.7.5, iOS 15.8.7 and iPadOS 15.8.7. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been exploited.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apple SafariAffectedFixed in
- < 17.3
- 17.3
- Apple iOS and iPadOSAffectedFixed in
- < 15.8.7
- < 16.7.5
- < 17.3
- 15.8.7
- 16.7.5
- 17.3
- Apple macOSAffectedFixed in
- < 12.7.3
- < 13.6.4
- < 14.3
- 12.7.3
- 13.6.4
- 14.3
- Apple tvOSAffectedFixed in
- < 17.3
- 17.3
- Apple visionOSAffectedFixed in
- < 1.0.2
- 1.0.2
| Product | Affected | Fixed in |
|---|---|---|
| Apple Safari |
|
|
| Apple iOS and iPadOS |
|
|
| Apple macOS |
|
|
| Apple tvOS |
|
|
| Apple visionOS |
|
|
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 24.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·qtwebkit-opensource-src
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·webkit2gtk
Fixed: 2.42.5-0ubuntu0.22.04.2
Ubuntu 22.04 LTS·wpewebkit
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·qtwebkit-opensource-src
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·webkit2gtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·wpewebkit
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·qtwebkit-opensource-src
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·qtwebkit-source
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·webkit2gtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·webkitgtk
standard support ended – later fixes only via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·qtwebkit-opensource-src
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·qtwebkit-source
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·webkit2gtk
ESM ended
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·webkitgtk
ESM ended
Status: no fixed version published · Ubuntu tracker
Debian 12 (bookworm)·webkit2gtk
Fixed: 2.42.5-1~deb12u1
Debian 12 (bookworm)·wpewebkit
Status: no fixed version published · Debian tracker
What to do
- On Debian 12, update
webkit2gtkto2.42.5-1~deb12u1or later. - On Ubuntu 22.04 LTS, update
webkit2gtkto2.42.5-0ubuntu0.22.04.2or later. - Restart applications that use WebKit so they load the updated libraries.
- Upgrade Ubuntu 16.04 LTS systems to a supported release.
- On Ubuntu 18.04 LTS and 20.04 LTS, use Ubuntu Pro (ESM) to receive fixes, or upgrade to a supported release.
- Track the distribution advisories for
wpewebkitandqtwebkit-opensource-srcfixes.
Where no fixed package exists, limit use of applications built on wpewebkit or qtwebkit-opensource-src to trusted web content. Remove these packages if nothing needs them. Reduce network exposure of affected systems. On end-of-life Ubuntu 16.04 LTS, upgrade to a supported release instead of waiting for a fix.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace webkit2gtk with the source package from the table above (this CVE affects 5 source packages).
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="webkit2gtk"'2. Compare each installed version with the fixed version for your release from the table (releases with a fixed version only)
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="webkit2gtk"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
No fixed version yet on 3 releases
Ubuntu 24.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS: no fixed version of the affected packages yet, so every installed version there is affected. Until a fix is published:
- Follow the vendor's advisory for a mitigation or patch: support.apple.com/en-us/118479
- If the server does not need the package, remove it, or replace it with a maintained alternative.
- Restrict exposure: keep the affected service off the internet, limit access with a firewall or VPN, and turn off the vulnerable feature where you can.
This page updates automatically when Ubuntu or Debian publish a fix.
Ubuntu 16.04 LTS has reached end of life and no longer gets regular security fixes – upgrade to a supported release.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Questions about CVE-2024-23222
- Is this vulnerability exploited in the wild?
- Apple is aware of a report that the issue may have been exploited. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-01-23.
- Does installing the fixed package fully protect a running system?
- No. Applications that already loaded the old WebKit library keep running the vulnerable code. Restart them after updating.
- Which packages have fixes available?
- Only
webkit2gtkhas fixes:2.42.5-1~deb12u1on Debian 12 and2.42.5-0ubuntu0.22.04.2on Ubuntu 22.04 LTS. Other listed packages have no fixed version published.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.