-
Notifications
You must be signed in to change notification settings - Fork 10
fix(deps): update dependency ws to ^8.21.0 #345
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -121,6 +121,6 @@ | |
| "typescript-eslint": "^8.59.4", | ||
| "vite": "^8.0.14", | ||
| "vitest": "^4.1.7", | ||
| "ws": "^8.20.1" | ||
| "ws": "^8.21.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Требуется обоснование обновления dev-зависимости (дублирует проблему в api package). Аналогично production-зависимости в
Хотя это dev-зависимость с меньшим runtime-воздействием, она все равно представляет supply-chain риск и должна иметь обоснование согласно coding guidelines. Рекомендуется добавить в description PR или связанный issue информацию о:
🤖 Prompt for AI Agents |
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
ws npm package version 8.21.0 release notes and changelog💡 Result:
As of May 22, 2026, there is no version 8.21.0 of the ws npm package. The most recent version available is 8.20.1, which was published on May 12, 2026 [1][2]. The ws package maintains its changelog and release notes directly through GitHub Releases [1][3]. You can view the history of all releases, including the latest version 8.20.1, at the official repository: https://github.com/websockets/ws/releases [4].
Citations:
🌐 Web query:
ws npm package security vulnerabilities and advisories 2026💡 Result:
As of today (2026-05-22), the key npm package security vulnerability/advisory I found for the ws package is: 1) ws (websockets/ws) uninitialized memory disclosure (CVE-2026-45736) - Advisory (GitHub/ GHSA-58qx-3vcg-4xpx): A vulnerability in ws’s websocket.close allows uninitialized memory disclosure when a TypedArray is passed as the reason argument; it affects ws versions >= 8.0.0 and < 8.20.1, and was patched in ws 8.20.1 [1]. - CVE: The issue is tracked as CVE-2026-45736 and fixed in ws 8.20.1 [1]. - Examples of the vulnerable behavior and fix guidance are reflected in the broader vulnerability writeups: upgrading ws to 8.20.1+ mitigates [2]. 2) “Direct vulnerabilities” status for the latest ws version - The Snyk package page for ws (based on latest version 8.20.1) reports “No known security issues” affecting the latest version, and notes that although there are vulnerabilities in older versions, none affect 8.20.1 [3]. 3) Additional (older) ws advisories you may still want to account for (if you run older ws versions) - DoS due to many HTTP headers (CVE-2024-37890 / GHSA-3h5v-q93c-6h6q): affects ws versions >= 2.1.0 < 5.2.4, >= 6.0.0 < 6.2.3, >= 7.0.0 < 7.5.10, and >= 8.0.0 < 8.17.1; patched in 5.2.4, 6.2.3, 7.5.10, 8.17.1 [4]. - ReDoS in Sec-Websocket-Protocol header (CVE-2021-32640 / GHSA-6fc8-4gx4-v693): affects ws versions >= 5.0.0 < 5.2.3, >= 6.0.0 < 6.2.2, >= 7.0.0 < 7.4.6; patched in 5.2.3, 6.2.2, 7.4.6 [5]. Recommended remediation (practical) - Upgrade ws to at least 8.20.1 (to address CVE-2026-45736) [1]. - If you cannot upgrade immediately, ensure you’re not calling websocket.close with a TypedArray as the “reason” argument, since the disclosure occurs under that usage condition [1]. If you want, tell me which ws version(s) you use (and whether it’s direct or transitive), and I can map the precise affected ranges to your dependency tree and suggest an upgrade target.
Citations:
🏁 Script executed:
Repository: ProverCoderAI/docker-git
Length of output: 2221
Обязательна правка версии
wsи обоснование обновленияpackages/api/package.json(стр. 30) задано"ws": "^8.21.0", но версии8.21.0дляwsна npm/GitHub Releases на текущую дату не существует (самая свежая —8.20.1). Уточните цель/источник (например, это prerelease) или замените на существующую версию, чтобы избежать проблем с установкой.8.20.1).wsв Docker/шаблонах: либо синхронизируйте, либо объясните, почему допускается расхождение.🤖 Prompt for AI Agents