Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump ws from 7.3.1 to 7.4.6#32

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdependabot/npm_and_yarn/ws-7.4.6

Conversation

dependabot[bot]
Copy link

@dependabotdependabotbot commented on behalf ofgithubMay 30, 2021

Bumpsws from 7.3.1 to 7.4.6.

Release notes

Sourced fromws's releases.

7.4.6

Bug fixes

  • Fixed a ReDoS vulnerability (00c425ec).

A specially crafted value of theSec-Websocket-Protocol header could be usedto significantly slow down a ws server.

for(constlengthof[1000,2000,4000,8000,16000,32000]){constvalue='b'+' '.repeat(length)+'x';conststart=process.hrtime.bigint();value.trim().split(/*,*/);constend=process.hrtime.bigint();console.log('length = %d, time = %f ns',length,end-start);}

The vulnerability was responsibly disclosed along with a fix in private byRobert McLaughlin from University of California, Santa Barbara.

In vulnerable versions of ws, the issue can be mitigated by reducing the maximumallowed length of the request headers using the--max-http-header-size=sizeand/or themaxHeaderSize options.

7.4.5

Bug fixes

  • UTF-8 validation is now done even ifutf-8-validate is not installed(23ba6b29).
  • Fixed an edge case wherewebsocket.close() andwebsocket.terminate() didnot close the connection (67e25ff5).

7.4.4

Bug fixes

  • Fixed a bug that could cause the process to crash when using thepermessage-deflate extension (92774377).

7.4.3

Bug fixes

  • The deflate/inflate stream is now reset instead of reinitialized when contexttakeover is disabled (#1840).

7.4.2

Bug fixes

... (truncated)

Commits
  • f5297f7 [dist] 7.4.6
  • 00c425e [security] Fix ReDoS vulnerability
  • 990306d [lint] Fix prettier error
  • 32e3a84 [security] Remove reference to Node Security Project
  • 8c914d1 [minor] Fix nits
  • fc7e27d [ci] Test on node 16
  • 587c201 [ci] Do not test on node 15
  • f672710 [dist] 7.4.5
  • 67e25ff [fix] Fix case whereabortHandshake() does not close the connection
  • 23ba6b2 [fix] Make UTF-8 validation work even if utf-8-validate is not installed
  • Additional commits viewable incompare 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.


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

You can disable automated security fix PRs for this repo from theSecurity Alerts page.

Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6.- [Release notes](https://github.com/websockets/ws/releases)- [Commits](websockets/ws@7.3.1...7.4.6)Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added the dependenciesPull requests that update a dependency file labelMay 30, 2021
@performance-testing-bot

Unable to locate .performanceTestingBot config file

@changelogg
Copy link

Hey! Changelogs info seems to be missing or might be in incorrect format.
Please use the below template in PR description to ensureChangelogg can detect your changes:
- (tag) changelog_text
or
- tag: changelog_text
OR
You can add tag in PR header or while doing a commit too
(tag) PR header
or
tag: PR header
Valid tags:added /feat,changed,deprecated,fixed /fix,removed,security,build,ci,chore,docs,perf,refactor,revert,style,test
Thanks!
For more info, check outchangelogg docs

@commit-lint
Copy link

Contributors

dependabot[bot]

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@vizipi
Copy link

vizipibot commentedMay 30, 2021

Pull request analysis byVIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

No other active qualified developers found to review these specific changes. You might consider involving more team members with these code segments.


Potential missing files from this Pull request

files commonly committed with a subset of this pr, but not committed this time. (click to collapse)
FilePercentilerate
package.json56.52 %13 out of23 times

Committed file ranks

(click to expand)
  • 50.00%[package-lock.json]
  • Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
    Reviewers
    No reviews
    Assignees
    No one assigned
    Labels
    dependenciesPull requests that update a dependency filesize/XS
    Projects
    None yet
    Milestone
    No milestone
    Development

    Successfully merging this pull request may close these issues.

    0 participants

    [8]ページ先頭

    ©2009-2025 Movatter.jp