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

Abierto
#573 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
680
Forks
58
Merge medio
5 d 1 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de callstackincubator/rozenite

Todos los issues de callstackincubator/rozenite

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.