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

fix: Security upgrade ws, parse and puppeteer #2618

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 16, 2024

Bumps ws to 8.18.0 and updates ancestor dependencies ws, parse and puppeteer. These dependencies need to be updated together.

Updates ws from 8.16.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 parse from 3.4.2 to 3.5.1

Release notes

Sourced from parse's releases.

3.5.1

3.5.1 (2022-11-26)

Bug Fixes

  • File upload fails when uploading base64 data (#1578) (03ee3ff)
  • React Native build does not maintain arrow functions and causes error with AsyncStorage (#1587) (8aeaa4f)
  • SDK builds incorrectly since release 3.5.0 causing various bugs (#1600) (f15154f)

3.5.1-beta.2

3.5.1-beta.2 (2022-11-26)

Bug Fixes

  • SDK builds incorrectly since release 3.5.0 causing various bugs (#1600) (f15154f)

3.5.1-beta.1

3.5.1-beta.1 (2022-11-03)

Bug Fixes

  • File upload fails when uploading base64 data (#1578) (03ee3ff)
  • React Native build does not maintain arrow functions and causes error with AsyncStorage (#1587) (8aeaa4f)

3.5.1-alpha.2

3.5.1-alpha.2 (2022-11-07)

Bug Fixes

  • SDK builds incorrectly since release 3.5.0 causing various bugs (#1600) (f15154f)

3.5.1-alpha.1

3.5.1-alpha.1 (2022-11-03)

Bug Fixes

  • File upload fails when uploading base64 data (#1578) (03ee3ff)
  • React Native build does not maintain arrow functions and causes error with AsyncStorage (#1587) (8aeaa4f)

3.5.0

3.5.0 (2022-11-01)

Warning

⚠️ This release contains several bugs due to a code compilation issue. We strongly recommend to skip this release.

... (truncated)

Commits
  • 0d8df83 chore(release): 3.5.1 [skip ci]
  • f32b3b1 build: Release (#1622)
  • 28aaad0 chore(release): 3.5.1-beta.2 [skip ci]
  • d0bc8fb build: Release beta (#1621)
  • 7fe54a2 chore(release): 3.5.1-alpha.2 [skip ci]
  • f15154f fix: SDK builds incorrectly since release 3.5.0 causing various bugs (#1600)
  • a52c4c6 docs: add beta CI badge to README
  • 90b5936 chore(release): 3.5.1-alpha.1 [skip ci]
  • 2342a72 refactor: Bump parse-server from e90a518 to 81304be (#1595)
  • 391fa35 chore(release): 3.5.1-beta.1 [skip ci]
  • Additional commits viewable in compare view

Updates puppeteer from 22.6.1 to 22.15.0

Release notes

Sourced from puppeteer's releases.

puppeteer-core: v22.15.0

22.15.0 (2024-07-31)

Features

Bug Fixes

puppeteer: v22.15.0

22.15.0 (2024-07-31)

Miscellaneous Chores

  • puppeteer: Synchronize puppeteer versions

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 22.14.0 to 22.15.0

puppeteer-core: v22.14.0

22.14.0 (2024-07-25)

Features

Bug Fixes

  • webdriver: allow accessing raw CDP connection when using WebDriver BiDi (#12771) (059cacc)
  • webdriver: dispose resources to abort active listeners (#12817) (c452c5f)
  • webdriver: in page.goto consider only the first emitted navigation event (#12777) (cd740b2)

Dependencies

  • The following workspace dependencies were updated
    • dependencies

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by google-wombot, a new releaser for puppeteer since your current version.


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.

@dependabot dependabot bot added the dependencies Bot label; pull requests that updates a dependency file label Oct 16, 2024
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title build(deps): bump ws, parse and puppeteer build(deps): Bump ws, parse and puppeteer Oct 16, 2024
Bumps [ws](https://github.com/websockets/ws) to 8.18.0 and updates ancestor dependencies [ws](https://github.com/websockets/ws), [parse](https://github.com/parse-community/Parse-SDK-JS) and [puppeteer](https://github.com/puppeteer/puppeteer). These dependencies need to be updated together.


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

Updates `parse` from 3.4.2 to 3.5.1
- [Release notes](https://github.com/parse-community/Parse-SDK-JS/releases)
- [Changelog](https://github.com/parse-community/Parse-SDK-JS/blob/alpha/CHANGELOG.md)
- [Commits](parse-community/Parse-SDK-JS@3.4.2...3.5.1)

Updates `puppeteer` from 22.6.1 to 22.15.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-v22.6.1...puppeteer-v22.15.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: parse
  dependency-type: direct:production
- dependency-name: puppeteer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/multi-dbec06dfd0 branch from 1eea48d to 21cac3a Compare October 16, 2024 15:15
Copy link

uffizzi-cloud bot commented Oct 16, 2024

Uffizzi Ephemeral Environment deployment-57317

⌚ Updated Oct 16, 2024, 15:22 UTC

☁️ https://app.uffizzi.com/github.com/parse-community/parse-dashboard/pull/2618

📄 View Application Logs etc.

What is Uffizzi? Learn more

@mtrezza mtrezza changed the title build(deps): Bump ws, parse and puppeteer fix: Security upgrade ws, parse and puppeteer Oct 16, 2024
Copy link

Thanks for opening this pull request!

  • ❌ Please link an issue that describes the reason for this pull request, otherwise your pull request will be closed. Make sure to write it as Closes: #123 in the PR description, so I can recognize it.

@mtrezza mtrezza merged commit bab71dc into alpha Oct 16, 2024
10 checks passed
@mtrezza mtrezza deleted the dependabot/npm_and_yarn/multi-dbec06dfd0 branch October 16, 2024 17:38
parseplatformorg pushed a commit that referenced this pull request Oct 16, 2024
# [6.0.0-alpha.19](6.0.0-alpha.18...6.0.0-alpha.19) (2024-10-16)

### Bug Fixes

* Security upgrade ws, parse and puppeteer ([#2618](#2618)) ([bab71dc](bab71dc))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0-alpha.19

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Oct 16, 2024
vardhan0604 pushed a commit to vardhan0604/parse-dashboard that referenced this pull request Oct 22, 2024
vardhan0604 pushed a commit to vardhan0604/parse-dashboard that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Bot label; pull requests that updates a dependency file state:released-alpha Released as alpha version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants