CVE-2024-23284
Overview
Advisory: Apple Security Advisory
Impact:
Description: Processing maliciously crafted web content may prevent Content Security Policy from being enforced
Researchers: Georg Felber and Marco Squarcina
| Attribute | Value |
|---|---|
| CVE | CVE-2024-23284 |
| Bugzilla | 267241 |
| Component | WebKit |
| Bug Class | LogicError |
| Severity | medium |
| Commit | d4d875b3f0503741… |
| Advisory | Apple Advisory |
Root Cause Analysis
A logic issue was addressed with improved state management.
Files Changed
Test Files
LayoutTests/http/tests/security/referrer-policy-header.htmlLayoutTests/platform/wk2/TestExpectations
Patch Preview
diff --git a/LayoutTests/http/tests/security/referrer-policy-header.html b/LayoutTests/http/tests/security/referrer-policy-header.html
index 4bfe3dc27a22..39f7cacc7f70 100644
--- a/LayoutTests/http/tests/security/referrer-policy-header.html
+++ b/LayoutTests/http/tests/security/referrer-policy-header.html
@@ -8,9 +8,10 @@
<script>
description("Tests support for Referrer-Policy HTTP header.");
jsTestIsAsync = true;
-runTests(false);
-if (window.testRunner)
+if (window.testRunner) {
+ testRunner.waitUntilDone();
testRunner.setStatisticsShouldDowngradeReferrer(false, async () => { await runTests(false /* multipart */); });
+}
</script>
</body>
</html>
diff --git a/LayoutTests/platform/wk2/TestExpectations b/LayoutTests/platform/wk2/TestExpectations
index 10c1bdbcf4de..59832160e345 100644
--- a/LayoutTests/platform/wk2/TestExpectations
+++ b/LayoutTests/platform/wk2/TestExpectations
@@ -870,6 +870,4 @@ webkit.org/b/259409 imported/w3c/web-platform-tests/cookies/partitioned-cookies/
webkit.org/b/259482 fast/media/managed-media-source-open-crash.html [ Pass Failure ]
-webkit.org/b/260632 http/tests/security/referrer-policy-header.html [ Pass Failure Crash ]
-
webkit.org/b/260640 [ Release arm64 ] editing/execCommand/apply-inline-style-to-element-with-no-renderer-crash.html [ Pass Failure ]