Closed Bug 2083429 Opened 1 month ago Closed 26 days ago

[wpt-sync] Sync PR 63810 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327805

Categories

(Core :: DOM: Web Crypto, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63810 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63810
Details from upstream follow.

Claudio Saavedra <csaavedra@igalia.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327805

WebKit export from bug: [<!---->OpenSSL]<!----> AES-<!---->KW unwrapKey accepts tampered wrapped keys

<pre>
[OpenSSL] AES-KW unwrapKey accepts tampered wrapped keys

AES_wrap_key() and AES_unwrap_key() return -1 on failure in BoringSSL
but 0 in OpenSSL, so with OpenSSL a failed integrity check was treated
as success and unwrapKey resolved with an all-zero key. Treat 0 as a
failure too.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327805">https://bugs.webkit.org/show_bug.cgi?id=327805</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324035@main">https://commits.webkit.org/324035@main</a>
</pre>

Component: web-platform-tests → DOM: Web Crypto
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 299 subtests

Status Summary

Firefox

OK : 2[GitHub] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 6[GitHub] 604[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 6

Safari

OK : 2
PASS: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.