Skip to content
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

Disable SharedArrayBuffer #1051

Closed
jumde opened this issue Sep 9, 2018 · 1 comment · Fixed by brave/brave-core#426
Closed

Disable SharedArrayBuffer #1051

jumde opened this issue Sep 9, 2018 · 1 comment · Fixed by brave/brave-core#426

Comments

@jumde
Copy link
Contributor

jumde commented Sep 9, 2018

Details here: brave/browser-laptop#12570

STR:

  1. Go to https://xlab.tencent.com/special/spectre/spectre_check.html
  2. Click the button to check your browser. It should report as not vulnerable.
@LaurenWags
Copy link
Member

LaurenWags commented Sep 20, 2018

Verification Pass with

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Mac OS X

Verification Passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Windows

Verification Passed on

Brave 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
Revision 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS Linux

@brave brave deleted a comment from GeetaSarvadnya Sep 21, 2018
@bbondy bbondy added the QA/Yes label Sep 27, 2018
mkarolin added a commit to brave/brave-core that referenced this issue Mar 12, 2019
This change is due to failure of browser test
SharedArrayBufferDisabledTest.IsDisabled.

Needs security review.

In C73 this feature was disabled by default. In C74 it is enabled
by default on all platforms but Android. When enabled, this feature
also enables SharedArrayBuffer feature, which we have disabled due
to vulnerability to Spectre. See
brave/brave-browser#1051.

Chromium change:

commit f9cc6b912e601070728b449892097cec0d59cbfa
Author: Ben Smith <binji@chromium.org>
Date:   Wed Feb 27 02:09:43 2019 +0000

    [wasm] Enable wasm threads by default

    See intent to ship blink-dev thread:
    https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tD6np-OG2PU

    Bug: chromium:754910
mkarolin added a commit to brave/brave-core that referenced this issue Mar 15, 2019
This change is due to failure of browser test
SharedArrayBufferDisabledTest.IsDisabled.

Needs security review.

In C73 this feature was disabled by default. In C74 it is enabled
by default on all platforms but Android. When enabled, this feature
also enables SharedArrayBuffer feature, which we have disabled due
to vulnerability to Spectre. See
brave/brave-browser#1051.

Chromium change:

commit f9cc6b912e601070728b449892097cec0d59cbfa
Author: Ben Smith <binji@chromium.org>
Date:   Wed Feb 27 02:09:43 2019 +0000

    [wasm] Enable wasm threads by default

    See intent to ship blink-dev thread:
    https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tD6np-OG2PU

    Bug: chromium:754910
mkarolin added a commit to brave/brave-core that referenced this issue Mar 18, 2019
This change is due to failure of browser test
SharedArrayBufferDisabledTest.IsDisabled.

Needs security review.

In C73 this feature was disabled by default. In C74 it is enabled
by default on all platforms but Android. When enabled, this feature
also enables SharedArrayBuffer feature, which we have disabled due
to vulnerability to Spectre. See
brave/brave-browser#1051.

Chromium change:

commit f9cc6b912e601070728b449892097cec0d59cbfa
Author: Ben Smith <binji@chromium.org>
Date:   Wed Feb 27 02:09:43 2019 +0000

    [wasm] Enable wasm threads by default

    See intent to ship blink-dev thread:
    https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tD6np-OG2PU

    Bug: chromium:754910
mkarolin added a commit to brave/brave-core that referenced this issue Mar 19, 2019
This feature was disabled by brave/brave-browser#1051 to mitigate
Spectre. Spectre was later addressed by Chromium via site isolation and
Chromium re-enabled SharedArrayBuffer, but Brave didn't. Now in C74,
WebAssemblyThreads feature is being enabled by default. Since
WebAssemblyThreads is built with and auto-enables SharedArrayBuffer,
there is no reason for us to continue keeping SharedArrayBuffer
disabled.

Aslo, removed a browser test for checking that SharedArrayBuffer is
disabled.

Chromium change making WebAssemblyThreads enabled by default:

commit f9cc6b912e601070728b449892097cec0d59cbfa
Author: Ben Smith <binji@chromium.org>
Date:   Wed Feb 27 02:09:43 2019 +0000

    [wasm] Enable wasm threads by default

    See intent to ship blink-dev thread:
    https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tD6np-OG2PU

    Bug: chromium:754910
mkarolin added a commit to brave/brave-core that referenced this issue Mar 20, 2019
This feature was disabled by brave/brave-browser#1051 to mitigate
Spectre. Spectre was later addressed by Chromium via site isolation and
Chromium re-enabled SharedArrayBuffer, but Brave didn't. Now in C74,
WebAssemblyThreads feature is being enabled by default. Since
WebAssemblyThreads is built with and auto-enables SharedArrayBuffer,
there is no reason for us to continue keeping SharedArrayBuffer
disabled.

Aslo, removed a browser test for checking that SharedArrayBuffer is
disabled.

Chromium change making WebAssemblyThreads enabled by default:

commit f9cc6b912e601070728b449892097cec0d59cbfa
Author: Ben Smith <binji@chromium.org>
Date:   Wed Feb 27 02:09:43 2019 +0000

    [wasm] Enable wasm threads by default

    See intent to ship blink-dev thread:
    https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/tD6np-OG2PU

    Bug: chromium:754910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants