-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hash method mismatch in comsuming preloads can allow response not matching consumer's integrity #7973
Comments
3 tasks
This is implemented only in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1762520). |
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Jun 1, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c
I am OK with removing this (if Firefox are not opposed) |
domenic
pushed a commit
that referenced
this issue
Jun 3, 2022
mfreed7
pushed a commit
to mfreed7/html
that referenced
this issue
Jun 3, 2022
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Jun 6, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c
aarongable
pushed a commit
to chromium/chromium
that referenced
this issue
Jun 6, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681845 Reviewed-by: Domenic Denicola <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011137}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Jun 6, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681845 Reviewed-by: Domenic Denicola <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011137}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Jun 6, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681845 Reviewed-by: Domenic Denicola <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011137}
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Jun 10, 2022
…in consuming preloads, a=testonly Automatic update from web-platform-tests [WPT] Do not allow hash method mismatch in consuming preloads Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681845 Reviewed-by: Domenic Denicola <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011137} -- wpt-commits: 30c171e417878a0bea178dd912770d6fd7348ebc wpt-pr: 34272
mjfroman
pushed a commit
to mjfroman/moz-libwebrtc-third-party
that referenced
this issue
Oct 14, 2022
Bug: whatwg/html#7973 Change-Id: I1bbe327080a83bcd74f46f64668cf73490ef6d7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3681845 Reviewed-by: Domenic Denicola <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011137} NOKEYCHECK=True GitOrigin-RevId: cebfd2b4ce9c3d7c230a09011f9b4f254bc55bea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#7738 allows consuming preloads if
but this can cause a response that doesn't match with
consumerIntegrityMetadata
to pass SRI check, if it does match withpreloadIntegrityMetadata
.For example,
where received
foo.js
's SHA512 hash isaaaaa
and SHA256 hash isccccc
, notbbbbb
.This can problematic when
bbbbb
is the correct hash and the receivedfoo.js
and the<link rel=preload>
's hashaaaaa
are wrong.Maybe the "stronger than" condition should be removed?
The text was updated successfully, but these errors were encountered: