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

Bump ws and web-ext #1508

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2024

Bumps ws to 8.18.0 and updates ancestor dependency web-ext. These dependencies need to be updated together.

Updates ws from 8.13.0 to 8.18.0

Release notes

Sourced from ws's releases.

8.18.0

Features

  • Added support for Blob (#2229).

8.17.1

Bug fixes

  • Fixed a DoS vulnerability (#2231).

A request with a number of headers exceeding the[server.maxHeadersCount][] threshold could be used to crash a ws server.

const http = require('http');
const WebSocket = require('ws');
const wss = new WebSocket.Server({ port: 0 }, function () {
const chars = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split('');
const headers = {};
let count = 0;
for (let i = 0; i < chars.length; i++) {
if (count === 2000) break;
for (let j = 0; j &lt; chars.length; j++) {
  const key = chars[i] + chars[j];
  headers[key] = 'x';
if (++count === 2000) break;
}

}
headers.Connection = 'Upgrade';
headers.Upgrade = 'websocket';
headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ==';
headers['Sec-WebSocket-Version'] = '13';
const request = http.request({
headers: headers,
host: '127.0.0.1',
port: wss.address().port
});
request.end();
});

The vulnerability was reported by Ryan LaPointe in websockets/ws#2230.

... (truncated)

Commits
  • 976c53c [dist] 8.18.0
  • 59b9629 [feature] Add support for Blob (#2229)
  • 0d1b5e6 [security] Use more descriptive text for 2017 vulnerability link
  • 15f11a0 [security] Add new DoS vulnerability to SECURITY.md
  • 3c56601 [dist] 8.17.1
  • e55e510 [security] Fix crash when the Upgrade header cannot be read (#2231)
  • 6a00029 [test] Increase code coverage
  • ddfe4a8 [perf] Reduce the amount of crypto.randomFillSync() calls
  • b73b118 [dist] 8.17.0
  • 29694a5 [test] Use the highWaterMark variable
  • Additional commits viewable in compare view

Updates web-ext from 7.6.2 to 8.3.0

Release notes

Sourced from web-ext's releases.

8.3.0

main changes

  • Updated: dependency addons-linter to 7.1.0 (#3254)
  • Updated: replace Bunyan logger with Pino (#3214)
  • Removed: drop mz dependency (#3215)
  • Removed: drop node-fetch dependency (#3217)
  • Removed: drop fs-extras and mkdirp dependencies (#3230)
  • Fixed: Resolve input sourceDir to absolute path (#3024)

dependencies

  • Updated: dependency @babel/runtime to 7.25.6 (#3236)
  • Updated: dependency chrome-launcher to 1.1.2 (#3200)
  • Updated: dependency firefox-profile to 4.7.0 (#3224)
  • Updated: dependency https-proxy-agent to 7.0.5 (#3184)
  • Updated: dependency jose to 5.9.2 (#3253)
  • Updated: dependency pino to 9.4.0 (#3240)
  • Updated: dependency update-notifier to 7.3.1 (#3244)
  • Updated: dependency watchpack to 2.4.2 (#3223)
  • Updated: dependency ws to 8.18.0 (#3187)

dev dependencies

  • Updated: dependency @babel/cli to 7.25.6 (#3237)
  • Updated: dependency @babel/core to 7.25.2 (#3210)
  • Updated: dependency @babel/eslint-parser to 7.25.1 (#3206)
  • Updated: dependency @babel/preset-env to 7.25.4 (#3228)
  • Updated: dependency @commitlint/cli to 19.5.0 (#3249)
  • Updated: dependency @commitlint/config-conventional to 19.5.0 (#3248)
  • Updated: dependency babel-plugin-istanbul to 7.0.0 (#3189)
  • Updated: dependency chai to 4.5.0 (#3204)
  • Updated: dependency eslint-plugin-import to 2.30.0 (#3239)
  • Updated: dependency mocha to 10.7.0 (#3202)
  • Updated: dependency prettier to 3.3.3 (#3196)
  • Updated: dependency sinon to 19.0.2 (#3252)

others

  • Fixed: typo and missed async keyword (#3177)

See all changes: mozilla/web-ext@8.2.0...8.3.0

8.2.0

features

  • web-ext lint: updated to use addons-linter v6.30.1

bug fixes, etc.

... (truncated)

Commits
  • a11c973 8.3.0
  • 2eb18db chore(deps): bump addons-linter from 7.0.0 to 7.1.0 (#3254)
  • e76422d chore(deps-dev): bump @​commitlint/cli from 19.3.0 to 19.5.0 (#3249)
  • 0dc61db chore(deps-dev): bump chai from 4.3.10 to 4.5.0 (#3204)
  • a3e46e2 chore(deps-dev): bump @​commitlint/config-conventional from 19.2.2 to 19.5.0 (...
  • 2eb5ceb chore(deps-dev): bump @​babel/preset-env from 7.25.3 to 7.25.4 (#3228)
  • 14a09f2 chore(deps): bump addons-linter from 6.33.0 to 7.0.0 (#3245)
  • d2be7da chore(deps): bump update-notifier from 7.3.0 to 7.3.1 (#3244)
  • 7465da3 chore(deps-dev): bump sinon from 19.0.0 to 19.0.2 (#3252)
  • 8300373 chore(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.30.0 (#3239)
  • Additional commits viewable in compare view

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [ws](https://github.com/websockets/ws) to 8.18.0 and updates ancestor dependency [web-ext](https://github.com/mozilla/web-ext). These dependencies need to be updated together.


Updates `ws` from 8.13.0 to 8.18.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.13.0...8.18.0)

Updates `web-ext` from 7.6.2 to 8.3.0
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](mozilla/web-ext@7.6.2...8.3.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: web-ext
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 21, 2024
Copy link

Download the artifacts for this pull request:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants