Vulnerabilities & updates

1,000+ items

Sat, December 5Yesterday

  • node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio

    Affected: npm:tar < 8.0.0 → 8.0.0 The maxDecompressionRatio guard tar added for GHSA-23hp-3jrh-7fpw is evaluated after node zlib has already materialized the inflated output, so it observes an allocation rather than bounding one. A remote, unauthenticated party who can hand tar.t()/tar.x() an archive can deny service with 65,608 bytes, at stock settings. Details The check runs from the decompressor's 'data' event, which fires once per call to node zlib's synchronous _processChunk — by then that input chunk's entire inflated out…

  • Vue I18n: escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed

    Affected: npm:vue-i18n = 9.14.5, npm:vue-i18n = 10.0.8, npm:vue-i18n >= 11.1.10, < 11.4.22 → 11.4.22, npm:vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13, npm:petite-vue-i18n = 9.14.5, npm:petite-vue-i18n = 10.0.8, npm:petite-vue-i18n >= 11.1.10, < 11.4.22 → 11.4.22, npm:petite-vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13, npm:@intlify/core-base = 9.14.5, npm:@intlify/core-base = 10.0.8, npm:@intlify/core-base >= 11.1.10, < 11.4.22 → 11.4.22, npm:@intlify/core-base >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13, npm:@intlify/core = 9.14.5, npm:@intlify/core = 10.0.8, npm:@intlify/core >= 11.1.10, < 11.4.22 → 11.4.22, npm:@intlify/core >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13, npm:@intlify/vue-i18n-core = 9.14.5, npm:@intlify/vue-i18n-core = 10.0.8, npm:@intlify/vue-i18n-core >= 11.1.10, < 11.4.22 → 11.4.22, npm:@intlify/vue-i18n-core >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13, npm:@intlify/shared = 9.14.5, npm:@intlify/shared = 10.0.8, npm:@intlify/shared >= 11.1.10, < 11.4.22 → 11.4.22, npm:@intlify/shared >= 12.0.0-alpha.4, < 12.0.0-alpha.13 → 12.0.0-alpha.13 When escapeParameter is enabled (escapeParameterHtml in the Legacy API), Vue I18n sanitizes the translated HTML with sanitizeTranslatedHtml(). The sanitizer reads tags in the same way as the HTML tokenizer, but it does not follow how elements open and close. An element that a translation leaves open, or an end tag that closes an element outside the translation, stays in the result. When the page is rendered on the server (SSR), the rest of the page follows the translation in the same HTML, and…

  • Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values

    Affected: npm:vue-i18n = 9.14.5, npm:vue-i18n = 10.0.8, npm:vue-i18n >= 11.1.10, < 11.4.19 → 11.4.19, npm:vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10, npm:petite-vue-i18n = 9.14.5, npm:petite-vue-i18n = 10.0.8, npm:petite-vue-i18n >= 11.1.10, < 11.4.19 → 11.4.19, npm:petite-vue-i18n >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10, npm:@intlify/core-base = 9.14.5, npm:@intlify/core-base = 10.0.8, npm:@intlify/core-base >= 11.1.10, < 11.4.19 → 11.4.19, npm:@intlify/core-base >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10, npm:@intlify/core = 9.14.5, npm:@intlify/core = 10.0.8, npm:@intlify/core >= 11.1.10, < 11.4.19 → 11.4.19, npm:@intlify/core >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10, npm:@intlify/vue-i18n-core = 9.14.5, npm:@intlify/vue-i18n-core = 10.0.8, npm:@intlify/vue-i18n-core >= 11.1.10, < 11.4.19 → 11.4.19, npm:@intlify/vue-i18n-core >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10, npm:@intlify/shared = 9.14.5, npm:@intlify/shared = 10.0.8, npm:@intlify/shared >= 11.1.10, < 11.4.19 → 11.4.19, npm:@intlify/shared >= 12.0.0-alpha.4, < 12.0.0-alpha.10 → 12.0.0-alpha.10 When escapeParameter is enabled (escapeParameterHtml in the Legacy API), Vue I18n passes the translated string through sanitizeTranslatedHtml(). The sanitizer disables javascript: URLs by rewriting them to about:blank — but only for attributes it can recognize. Both recognition passes require a well-formed attribute: the quoted pass needs the closing quote inside the message, and the unquoted pass rejects any value that starts with a quote character. A message that opens an attribute value and…

  • websocket-driver: Server crash triggered by client sending message data in the same TCP chunk as request headers

    Affected: npm:websocket-driver < 0.8.3 → 0.8.3 A WebSocket server implemented using websocket-driver can be made to crash by a remote client sending WebSocket message data in the TCP chunk as its handshake request headers. Details The websocket.http() driver constructor is designed to be used with the Node HTTP upgrade event, which yields an HTTP request, the bare TCP socket, and a buffer containing the request body to the event listener. The documentation instructs users to pass the request body to the driver, before calling start() on it,…

  • websocket-driver: Memory exhaustion triggered by client continuing to send message data after the server sent a Close frame

    Affected: npm:websocket-driver < 0.8.3 → 0.8.3 A WebSocket server built using websocket-driver can be made to buffer data from the client beyond the limit set by maxLength, if it attempts to close the socket but the client ignores this request and continues to send data on a half-open socket. Details When a websocket-driver instance calls close(), this has the effect of sending a WebSocket Close frame to the other peer. The peer should respond with its own Close frame and then both parties should close the connection. If the client ignores…

  • Socket.IO: Engine.IO DoS via memory exhaustion

    Affected: npm:engine.io < 6.6.13 → 6.6.13 A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to unbounded chunk buffering when processing polling POST requests. This vulnerability primarily affects direct connections to the Engine.IO server (without a reverse proxy), as most reverse proxies (Nginx, HAProxy, Apache) will concatenate chunks before forwarding them to the backend. An attacker with direct access could send a request body split into many small chunks, forcing the server to create excessive string objects…

  • minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache

    Affected: npm:minimatch >= 11.0.6, <= 11.0.9 → 11.0.10 minimatch's module-global matcher cache can be poisoned by a __proto__ key in the options object passed to minimatch(). optionsKey() scores that key the same as no options at all, while copyOptions()'s bare for...in loop re-parents its copy onto the attacker's prototype instead of copying it as an own property — one caller doing this is enough to flip the cached matcher's case-sensitivity for every later, unrelated caller matching the same pattern string. Details src/index.ts:229-234, optionsKe…

  • Medium06:47AdvisoryJavaScript / Node.jsGitHub Advisory Database

    Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces

    Affected: npm:glob <= 14.0.5 → 14.0.6 glob's ignore option composes an absolute ignore pattern by pasting the resolved root/cwd path into a glob string, then re-parsing that string with minimatch. The path is escaped with minimatch's escape(), but escape() only escapes { and } when magicalBraces is enabled — which glob does not do. A root path containing braces is therefore brace-expanded during re-parsing, and the resulting ignore pattern no longer matches the real path. The exclusion is silently dropped and the excluded file is r…

  • Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`

    Affected: npm:vue-i18n >= 7.0.0, < 9.0.0, npm:vue-i18n >= 9.0.0, <= 11.4.13 → 11.4.14, npm:vue-i18n >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 → 12.0.0-alpha.5, npm:petite-vue-i18n >= 9.2.0-alpha.7, <= 11.4.13 → 11.4.14, npm:petite-vue-i18n >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 → 12.0.0-alpha.5, npm:@intlify/vue-i18n-core >= 9.2.0-alpha.7, <= 11.4.13 → 11.4.14, npm:@intlify/vue-i18n-core >= 12.0.0-alpha.1, <= 12.0.0-alpha.4 → 12.0.0-alpha.5, npm:vue-i18n-bridge <= 10.0.0-alpha.1 In vue-i18n v9 and later, mergeLocaleMessage(), mergeDateTimeFormat() and mergeNumberFormat() look up the entry to merge into with container[locale]. When the locale is the name of a property inherited from Object.prototype, this lookup returns a built-in object, and the methods write into it: - With '__proto__', all three methods write into Object.prototype. - With 'constructor', mergeDateTimeFormat() and mergeNumberFormat() write into the global Object. A format with a key such as keys replac…

  • cross-spawn: Command injection on Windows when the command is not a plain program name or path

    Affected: npm:cross-spawn >= 7.0.0, < 7.1.1 → 7.1.1, npm:cross-spawn < 6.0.8 → 6.0.8 On Windows, cross-spawn runs commands that aren't executables, such as batch files (.bat and .cmd), through cmd.exe, and escapes their arguments for it. Batch files need a stricter escaping, because cmd.exe parses their arguments a second time. 7.1.0 and 6.0.7 fixed that escaping ([GHSA-ghv9-86vm-4v8m](https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m)), but it only applies when cross-spawn detects that the command is a batch file. The detection could be byp…

Fri, December 4

Thu, December 3

Wed, December 2

Tue, December 1

  • Critical13:24AdvisoryJavaScript / Node.jsJVN iPedia

    Versa Networks, Inc.のVersa Operating Systemにおける弱い認証に関する脆弱性

    VOS(旧Versa FlexVNF)上のNode.jsウェブサービスは、VOSアプライアンスのURLベースのゼロタッチプロビジョニング(ZTP)に使用され、プロビジョニング完了後には不要になります。このサービスの/decryptTestエンドポイントは、server.js内でセッション認証ミドルウェアの前に登録されており、正常に復号されたトークンを受け取ると認証済みセッションを作成します。復号に使用されるキーと初期化ベクトル(IV)がすべてのVOSアプライアンスでハードコーディングされて同一であるため、ネットワークアクセスを持つ未認証の攻撃者は有効なトークンを計算し、/decryptTestに送信することで資格情報を提供せずに完全に認証されたセッションを取得できます。VersaのHubs、Branches、Controllers向けセキュリティ強化ガイドでは、VOSデバイスの初期プロビジョニング後にNode.jsウェブサービスを無効化することを推奨しています。この脆弱性は、Node.jsウェブサービスが無効化されたVOSデバイスでは悪用できません。

  • Critical13:24AdvisoryJavaScript / Node.jsJVN iPedia

    Versa Networks, Inc.のVersa Operating Systemにおけるハードコードされた認証情報の使用に関する脆弱性

    VOS(旧称 Versa FlexVNF)のNode.jsウェブサービスは、VOSアプライアンスのURLベースのゼロタッチプロビジョニング(ZTP)に使用され、プロビジョニング完了後は不要になります。server.jsのexpress-sessionミドルウェアは、すべてのVOSアプライアンスで共通のハードコードされたシークレットで設定されており、セッションCookieの署名に使用されています。攻撃者はあらゆるソースから有効なセッションIDを入手すると、正しいHMAC-SHA256署名を計算し、サーバーが正当と認めるセッションCookieを偽造できます。このシークレットがすべてのVOSアプライアンス間で共有されているため、偽造されたCookieは展開内の任意のVOSアプライアンスで受け入れられます。Versaのハブ、ブランチ、およびコントローラー向けセキュリティ強化ガイドでは、VOSデバイスの初期プロビジョニング後にNode.jsウェブサービスを無効化することを推奨しています。この脆弱性は、Node.jsウェブサービスが無効化されているVOSデバイスでは悪用されません。

  • Critical13:24AdvisoryJavaScript / Node.jsJVN iPedia

    Versa Networks, Inc.のVersa Operating Systemにおける予測可能な数字や識別子の生成に関する脆弱性

    VOS(旧称 Versa FlexVNF)のNode.jsウェブサービスは、VOSアプライアンスのURLベースのZero Touch Provisioning(ZTP)に使用され、プロビジョニング完了後は不要になります。このサービスはUUIDバージョン1(UUIDv1)を使用してセッション識別子を生成します。UUIDv1はシステムの日付と時刻、およびMACアドレスから生成されるため、連続する識別子はわずかにしか異ならず予測可能です。もし攻撃者がユーザーのセッションIDを予測できた場合、そのユーザーのセッションをハイジャックできる可能性があります。Versaのハブ、ブランチ、およびコントローラー向けセキュリティ強化ガイドでは、VOSデバイスの初期プロビジョニング後にNode.jsウェブサービスを無効化することを推奨しています。この脆弱性はNode.jsウェブサービスが無効化されているVOSデバイスでは悪用できません。

  • Critical13:24AdvisoryJavaScript / Node.jsJVN iPedia

    Versa Networks, Inc.のVersa Operating Systemにおける弱い認証に関する脆弱性

    VOS(旧称 Versa FlexVNF)上の Node.js ウェブサービスは、VOSアプライアンスのURLベースのゼロタッチプロビジョニング(ZTP)に使用され、プロビジョニングが完了すると不要になります。このサービスは、初期プロビジョニング時にデフォルトの認証情報とHTTPベーシック認証を用いて、ユーザーおよび管理者をウェブインターフェースに認証します。デフォルト認証情報を知るネットワークアクセス権を持つ攻撃者は、このサービスに認証し、VOSアプライアンス上でプロビジョニング操作を実行する可能性があります。Versaのハブ、ブランチ、コントローラ向けセキュリティ強化ガイドでは、VOSデバイスの初期プロビジョニング完了後にNode.jsウェブサービスを無効化することを推奨しています。この脆弱性は、Node.jsウェブサービスが無効化されているVOSデバイスでは悪用できません。

  • Critical13:24AdvisoryJavaScript / Node.jsJVN iPedia

    Versa Networks, Inc.のVersa Operating SystemにおけるOS コマンドインジェクションの脆弱性

    VOS(以前のVersa FlexVNF)上のNode.jsウェブサービスは、VOSアプライアンスのURLベースのゼロタッチプロビジョニング(ZTP)に使用されており、プロビジョニング完了後には不要です。このサービスの/authenticateエンドポイントは、ユーザーが入力したユーザー名とパスワードを、正規表現のメタ文字は除去するものの改行文字は除去しないサニタイザー(escapeRegExp)を経由してchild_process.exec()に渡します。認証されていない攻撃者は、ユーザー名フィールドに改行文字を挿入することで、versa OSサービスユーザー権限として任意のシェルコマンドを実行できます。認証情報は不要で、攻撃者は認証されていないページのロードから入手可能なCSRFトークンのみを必要とします。VersaのHubs、Branches、およびControllers向けセキュリティ強化ガイドでは、VOSデバイスの初期プロビジョニング後にNode.jsウェブサービスを無効にすることを推奨しています。Node.jsウェブサービスを無効にしたVOSデバイスでは、この脆弱性を悪用できません。

  • cross-spawn: Command injection on Windows when spawning batch files

    Affected: npm:cross-spawn >= 7.0.0, < 7.1.0 → 7.1.0, npm:cross-spawn < 6.0.7 → 6.0.7 On Windows, cross-spawn runs commands that aren't executables (.exe or .com), such as batch files (.bat or .cmd), through cmd.exe, and escapes the command and its arguments for it. A batch file that forwards its arguments, e.g. with %, makes cmd.exe parse them a second time. cross-spawn only accounted for that second parse when the batch file was an npm cmd-shim located in node_modules/.bin. For any other batch file, such as npm.cmd, globally installed package shims or user batch files, a craft…

  • Socket.IO: Engine.IO DoS via unhandled upgrade error

    Affected: npm:engine.io < 6.6.12 → 6.6.12 A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to unhandled socket errors when processing invalid upgrade requests. If a client sends an upgrade request to a non-Engine.IO path and disconnects abruptly (e.g., via ECONNRESET) before the destruction timeout fires, the socket emits an error event with no listener attached, causing the Node.js process to crash with an uncaught exception. Proof of concept js import net from "node:net"; import http from "node:http"; import { S…

  • React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document rendering

    Affected: npm:react-router >= 7.0.0, < 7.18.5 → 7.18.5, npm:react-router >= 8.0.0, < 8.5.1 → 8.5.1 React Router applications performing server-side route discovery may consume excessive server resources when processing specially crafted requests, potentially resulting in denial of service. Affected Modes: Framework, RSC Data (unstable), and RSC Framework (unstable). In Framework Mode, exposure requires server-side rendering with lazy route discovery enabled. In the RSC modes, affected processing can also occur when handling RSC data requests.

  • React Router: Prototype Pollution via Vendored turbo-stream Deserializer

    Affected: npm:react-router >= 7.0.0, < 7.18.5 → 7.18.5, npm:react-router >= 8.0.0, < 8.5.1 → 8.5.1 A prototype pollution vulnerability in React Router’s data deserialization may allow attacker-controlled serialized data to interfere with application behavior, potentially compromising application integrity or availability. Affected Modes: Framework. Exploitation requires attacker influence over serialized data processed by the affected decoder.