shocknet / wallet

Shockwallet is a non-custodial SuperApp for the Bitcoin Lightning Network. It connects to a remote LND node and graph user nodes, to offer an open and decentralized social network.
https://Shockwallet.app
Other
28 stars 10 forks source link

[Security] Bump react-native-webview from 9.4.0 to 11.0.1 #430

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps react-native-webview from 9.4.0 to 11.0.1.

Release notes

Sourced from react-native-webview's releases.

v11.0.1

11.0.1 (2020-12-05)

Bug Fixes

v11.0.0

11.0.0 (2020-11-24)

Features

BREAKING CHANGES

  • android: This release introduces the setSupportMultipleWindows prop for Android. This sets the underlying Android WebView setting setSupportMultipleWindows. This prop defaults to true (previously false), and serves to mitigate the security advisory CVE-2020-6506.

The primary way this new behavior changes existing React Native WebView implementations on Android is that links that open in new tabs/windows (such as <a target="_blank">) will now prompt to open in the system browser, rather than re-using the current WebView.

If this behavior is not desirable, you can set this new prop to false, but be aware that this exposes your app to the security vulnerability listed above. Make sure you have read and understand the whole advisory and relevant links.

iOS & Windows are unaffected.

<WebView
  // ...
  setSupportMultipleWindows={true} // default: true
/>

Thanks to @mrcoinbase, @kelset, and @Titozzz for their work on this.

v10.10.2

10.10.2 (2020-11-06)

Bug Fixes

  • android: Unset mWebChromeClient on WebViewManager rather than WebView (#1720) (c95c0ea)

v10.10.1

10.10.1 (2020-11-06)

Bug Fixes

Commits
  • f1e7f3d chore(release): 11.0.1 [skip ci]
  • 84b7177 fix(ts): onScroll event type (#1631)
  • d08d000 Update windows-ci.yml
  • 321d9bd Update windows-ci.yml
  • 187dd0a Update stale.yml
  • aaf7881 chore(release): 11.0.0 [skip ci]
  • 194c6a2 feat(android): Introduce setSupportMultipleWindows to mitigate CVE-2020-6506 ...
  • 1b009dd chore(release): 10.10.2 [skip ci]
  • c95c0ea fix(android): Unset mWebChromeClient on WebViewManager rather than WebView (#...
  • 4ec290d chore(release): 10.10.1 [skip ci]
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

Universal XSS in Android WebView A universal cross-site scripting (UXSS) vulnerability, CVE-2020-6506 (https://crbug.com/1083819), has been identified in the Android WebView system component, which allows cross-origin iframes to execute arbitrary JavaScript in the top-level document. This vulnerability affects React Native apps which use a react-native-webview that allows navigation to arbitrary URLs, and when that app runs on systems with an Android WebView version prior to 83.0.4103.106.

Pending mitigation

Ensure users update their Android WebView system component via the Google Play Store to 83.0.4103.106 or higher to avoid this UXSS. 'react-native-webview' is working on a mitigation but it could take some time.

References

https://alesandroortiz.com/articles/uxss-android-webview-cve-2020-6506/

Affected versions: ["<= 10.10.2"]

dependabot-preview[bot] commented 3 years ago

Superseded by #431.