nobt-io / frontend

Frontend of nobt.io.
https://nobt.io
GNU General Public License v3.0
10 stars 4 forks source link

[Security] Bump webpack-dev-server from 3.1.3 to 3.1.14 #143

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps webpack-dev-server from 3.1.3 to 3.1.14. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The npm Advisory Database](https://npmjs.com/advisories/725).* > **Missing Origin Validation** > Versions of `webpack-dev-server` before 3.1.10 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated. > > Affected versions: <=3.1.10 *Sourced from [The Node Security Working Group](https://github.com/nodejs/security-wg/blob/master/vuln/npm/485.json).* > **Improper Input Validation** > An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin. > > Affected versions: <=3.1.10
Release notes *Sourced from [webpack-dev-server's releases](https://github.com/webpack/webpack-dev-server/releases).* > ## v3.1.14 > > ## [3.1.14](https://github.com/webpack/webpack-dev-server/compare/v3.1.13...v3.1.14) (2018-12-24) > > > ### Bug Fixes > > * add workaround for Origin header in sockjs ([#1608](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1608)) ([1dfd4fb](https://github.com/webpack/webpack-dev-server/commit/1dfd4fb)) > > ## v3.1.13 > > ## [3.1.13](https://github.com/webpack/webpack-dev-server/compare/v3.1.12...v3.1.13) (2018-12-22) > > > ### Bug Fixes > > * delete a comma for Node.js <= v7.x ([#1609](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1609)) ([0bab1c0](https://github.com/webpack/webpack-dev-server/commit/0bab1c0)) > > ## v3.1.12 > > ## [3.1.12](https://github.com/webpack/webpack-dev-server/compare/v3.1.11...v3.1.12) (2018-12-22) > > > ### Bug Fixes > > * regression in `checkHost` for checking Origin header ([#1606](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1606)) ([8bb3ca8](https://github.com/webpack/webpack-dev-server/commit/8bb3ca8)) > > ## v3.1.11 > > ## [3.1.11](https://github.com/webpack/webpack-dev-server/compare/v3.1.10...v3.1.11) (2018-12-21) > > > ### Bug Fixes > > * **bin/options:** correct check for color support (`options.color`) ([#1555](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1555)) ([55398b5](https://github.com/webpack/webpack-dev-server/commit/55398b5)) > * **package:** update `spdy` v3.4.1...4.0.0 (assertion error) ([#1491](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1491)) ([#1563](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1563)) ([7a3a257](https://github.com/webpack/webpack-dev-server/commit/7a3a257)) > * **Server:** correct `node` version checks ([#1543](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1543)) ([927a2b3](https://github.com/webpack/webpack-dev-server/commit/927a2b3)) > * **Server:** mime type for wasm in contentBase directory ([#1575](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1575)) ([#1580](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1580)) ([fadae5d](https://github.com/webpack/webpack-dev-server/commit/fadae5d)) > * add url for compatibility with webpack@5 ([#1598](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1598)) ([#1599](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1599)) ([68dd49a](https://github.com/webpack/webpack-dev-server/commit/68dd49a)) > * check origin header for websocket connection ([#1603](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1603)) ([b3217ca](https://github.com/webpack/webpack-dev-server/commit/b3217ca)) > > ## v3.1.10 > ## [2018-10-23](https://github.com/webpack/webpack-dev-server/compare/v3.1.9...v3.1.10) > > > ### Bug Fixes > > * **options:** add `writeToDisk` option to schema ([#1520](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1520)) ([d2f4902](https://github.com/webpack/webpack-dev-server/commit/d2f4902)) > * **package:** update `sockjs-client` v1.1.5...1.3.0 (`url-parse` vulnerability) ([#1537](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1537)) ([e719959](https://github.com/webpack/webpack-dev-server/commit/e719959)) > * **Server:** set `tls.DEFAULT_ECDH_CURVE` to `'auto'` ([#1531](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1531)) ([c12def3](https://github.com/webpack/webpack-dev-server/commit/c12def3)) > ... (truncated)
Changelog *Sourced from [webpack-dev-server's changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md).* > ## [3.1.14](https://github.com/webpack/webpack-dev-server/compare/v3.1.13...v3.1.14) (2018-12-24) > > > ### Bug Fixes > > * add workaround for Origin header in sockjs ([#1608](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1608)) ([1dfd4fb](https://github.com/webpack/webpack-dev-server/commit/1dfd4fb)) > > > > > ## [3.1.13](https://github.com/webpack/webpack-dev-server/compare/v3.1.12...v3.1.13) (2018-12-22) > > > ### Bug Fixes > > * delete a comma for Node.js <= v7.x ([#1609](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1609)) ([0bab1c0](https://github.com/webpack/webpack-dev-server/commit/0bab1c0)) > > > > > ## [3.1.12](https://github.com/webpack/webpack-dev-server/compare/v3.1.11...v3.1.12) (2018-12-22) > > > ### Bug Fixes > > * regression in `checkHost` for checking Origin header ([#1606](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1606)) ([8bb3ca8](https://github.com/webpack/webpack-dev-server/commit/8bb3ca8)) > > > > > ## [3.1.11](https://github.com/webpack/webpack-dev-server/compare/v3.1.10...v3.1.11) (2018-12-21) > > > ### Bug Fixes > > * **bin/options:** correct check for color support (`options.color`) ([#1555](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1555)) ([55398b5](https://github.com/webpack/webpack-dev-server/commit/55398b5)) > * **package:** update `spdy` v3.4.1...4.0.0 (assertion error) ([#1491](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1491)) ([#1563](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1563)) ([7a3a257](https://github.com/webpack/webpack-dev-server/commit/7a3a257)) > * **Server:** correct `node` version checks ([#1543](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1543)) ([927a2b3](https://github.com/webpack/webpack-dev-server/commit/927a2b3)) > * **Server:** mime type for wasm in contentBase directory ([#1575](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1575)) ([#1580](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1580)) ([fadae5d](https://github.com/webpack/webpack-dev-server/commit/fadae5d)) > * add url for compatibility with webpack@5 ([#1598](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1598)) ([#1599](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1599)) ([68dd49a](https://github.com/webpack/webpack-dev-server/commit/68dd49a)) > * check origin header for websocket connection ([#1603](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1603)) ([b3217ca](https://github.com/webpack/webpack-dev-server/commit/b3217ca)) > > > > > ## [3.1.10](https://github.com/webpack/webpack-dev-server/compare/v3.1.9...v3.1.10) (2018-10-23) > > > ### Bug Fixes > > ... (truncated)
Commits - [`4b7a828`](https://github.com/webpack/webpack-dev-server/commit/4b7a8283f4901a1894bbc93b09d2dcab96ee514b) chore(release): 3.1.14 - [`1dfd4fb`](https://github.com/webpack/webpack-dev-server/commit/1dfd4fbe0c3ac8d25aa381231cb92b3ed805c8da) fix: add workaround for Origin header in sockjs ([#1608](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1608)) - [`bddfe16`](https://github.com/webpack/webpack-dev-server/commit/bddfe160808c54ac811eee77d0cd5aa4f157f7c9) chore(release): 3.1.13 - [`0bab1c0`](https://github.com/webpack/webpack-dev-server/commit/0bab1c03094d952d80601cd8a08b8135f79613b1) fix: delete a comma for Node.js <= v7.x ([#1609](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1609)) - [`9443239`](https://github.com/webpack/webpack-dev-server/commit/94432393ed8659b340452ae7ef24c64c16891dcd) chore(release): 3.1.12 - [`8bb3ca8`](https://github.com/webpack/webpack-dev-server/commit/8bb3ca86d849267a2e22755d2fa3d0b338dc6a3c) fix: regression in `checkHost` for checking Origin header ([#1606](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1606)) - [`ff2874f`](https://github.com/webpack/webpack-dev-server/commit/ff2874f5f3a90e5727434cc10f69ac4d54896033) chore(release): 3.1.11 - [`b3217ca`](https://github.com/webpack/webpack-dev-server/commit/b3217ca8dc6b371a160b6749b949ab09d7b9f6d7) fix: check origin header for websocket connection ([#1603](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1603)) - [`68dd49a`](https://github.com/webpack/webpack-dev-server/commit/68dd49a5e44b270061e4746b2e01bbc72589ca3b) fix: add url for compatibility with webpack@5 ([#1598](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1598)) ([#1599](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1599)) - [`fadae5d`](https://github.com/webpack/webpack-dev-server/commit/fadae5da6ba0261cade08164feeaad99b1de6b79) fix(Server): mime type for wasm in contentBase directory ([#1575](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1575)) ([#1580](https://github-redirect.dependabot.com/webpack/webpack-dev-server/issues/1580)) - Additional commits viewable in [compare view](https://github.com/webpack/webpack-dev-server/compare/v3.1.3...v3.1.14)
Maintainer changes This version was pushed to npm by [evilebottnawi](https://www.npmjs.com/~evilebottnawi), a new releaser for webpack-dev-server since your current version.


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.

Dependabot will merge this PR once CI passes on it, as requested by @thomaseizinger.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 3 PRs for your first few update runs. Once an update run creates fewer than 3 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 - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - 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) Finally, you can contact us by mentioning @dependabot.
thomaseizinger commented 5 years ago

Manual testing did not uncover any problems.

thomaseizinger commented 5 years ago

@dependabot-bot merge

dependabot-preview[bot] commented 5 years ago

Dependabot tried to merge this PR, but received the following error from GitHub:

At least 1 approving review is required by reviewers with write access.