Redux DevTools panel of @rozenite/redux-devtools-plugin bundles immutable, lodash-es and fast-uri with published advisories

オープン
#573 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, typescript
領域
devtools, security

調査の方向性

Start with the plugin's package.json and lockfile, then trace how @redux-devtools/app is included in the panel build. Update the resolved dependencies or add pnpm.overrides to meet the suggested minimum versions, rebuild, and inspect the generated panel bundle for the updated libraries. Done means the published package no longer contains the vulnerable versions.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

dist/devtools/assets/panel-DqWqTEK4.js in @rozenite/[email protected] inlines, through the devDependency @redux-devtools/app 6.2.2:

  • immutable 4.3.7 and 5.1.3: CVE-2026-29063 (GHSA-wf6x-7x77-mvgw, prototype pollution), CVE-2026-59879 (List trie overflow DoS) and CVE-2026-59880 (Map/Set hash-collision DoS)
  • lodash-es 4.17.21 (via @rjsf): CVE-2025-13465 (GHSA-f23m-r3pf-42rh, prototype pollution in unset/omit)
  • fast-uri 3.0.6 (via ajv): CVE-2026-6321, CVE-2026-6322, CVE-2026-18446, CVE-2026-75975 and CVE-2026-76172

None of these is a declared dependency, so npm audit and your users' SCA tools cannot flag them.

The code is in use, but we did not find a way for it to lead to an exploit in this package.

Because the copy ships where dependency audits cannot see it, it is easy to miss. We would suggest updating it when convenient, and sooner if untrusted input can reach it in your setup.

Suggested fix: refresh the lockfile or add pnpm.overrides so the panel build gets immutable >= 4.3.9 / >= 5.1.8, lodash-es >= 4.17.23 and fast-uri >= 3.1.8, then rebuild and publish.

System Info

N/A: independent of Node version, OS and package manager. The code is in the published package itself.

Rozenite Version

@rozenite/[email protected] (current latest)

Reproduction

https://www.npmjs.com/package/@rozenite/redux-devtools-plugin/v/2.5.0?activeTab=code

Steps to reproduce
  1. @rozenite/[email protected]:
npm pack @rozenite/[email protected]
mkdir redux-devtools-plugin && tar xzf rozenite-redux-devtools-plugin-2.5.0.tgz -C redux-devtools-plugin
grep -noF 'IS_COLLECTION_SYMBOL' redux-devtools-plugin/package/dist/devtools/assets/panel-DqWqTEK4.js | head -2
# 79129:IS_COLLECTION_SYMBOL
# 79131:IS_COLLECTION_SYMBOL
grep -cF 'isProtoKey' redux-devtools-plugin/package/dist/devtools/assets/panel-DqWqTEK4.js
# 0  (`isProtoKey` is added in later versions)
grep -noF 'nonSimpleDomain' redux-devtools-plugin/package/dist/devtools/assets/panel-DqWqTEK4.js | head -2
# 39177:nonSimpleDomain
# 39239:nonSimpleDomain
grep -cF 'getSchemeHandler' redux-devtools-plugin/package/dist/devtools/assets/panel-DqWqTEK4.js
# 0  (`getSchemeHandler` is added in later versions)
  1. None of these libraries is declared in the package's package.json, so npm audit does not report them.
主要言語
TypeScript
スター
680
フォーク
58
平均マージ
5日 1時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/rozenite のほかの issue

callstackincubator/rozenite の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。