Add controls for WASM #1814

Closed
opened 3 years ago by wolfbeast · 3 comments
wolfbeast commented 3 years ago (Migrated from github.com)

Despite the inherent issues with script safety, especially with unauthenticated blobs of bytecode, the increasing prevalence of WASM on the web demands that we enable it for web compatibility.
Extending the functionality of the traditional browser model to run arbitrary code - in this case, WebAssembly - once again expands the local attack surface for web-borne exploits.
So should we just throw up our hands and go with the program?
Yes, apparently we have to.

After examining the security issues with it and verifying that currently-known CVEs with it are addressed, I've come to the conclusion that aside from a known issue in the JIT compiler on 32-bit platforms, it should be safe to enable by default.
This does need an added control in preferences (probably under content) for people to easily enable/disable WASM content, and the JIT should be off by default on 32-bit platforms.

Despite the inherent issues with script safety, especially with unauthenticated blobs of bytecode, the increasing prevalence of WASM on the web demands that we enable it for web compatibility. Extending the functionality of the traditional browser model to run arbitrary code - in this case, WebAssembly - once again expands the local attack surface for web-borne exploits. So should we just throw up our hands and go with the program? Yes, apparently we have to. After examining the security issues with it and verifying that currently-known CVEs with it are addressed, I've come to the conclusion that aside from a known issue in the JIT compiler on 32-bit platforms, it should be safe to enable by default. This does need an added control in preferences (probably under content) for people to easily enable/disable WASM content, and the JIT should be off by default on 32-bit platforms.
mattatobin commented 3 years ago (Migrated from github.com)

I am preserving this issue but splitting off the Platform bits to another issue.

Pale Moon bits are as follows, add tickbox to Preferences -> Content for javascript.options.wasm plus strings.

I am preserving this issue but splitting off the Platform bits to another issue. Pale Moon bits are as follows, add tickbox to Preferences -> Content for `javascript.options.wasm` plus strings.
mattatobin commented 3 years ago (Migrated from github.com)
@JustOff
JustOff commented 3 years ago (Migrated from github.com)

Strings changes were pushed to CrowdIn.

Strings changes were pushed to CrowdIn.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonchildProductions/Pale-Moon#1814
Loading…
There is no content yet.