react-component / react-component/select

Security: 61 vulnerabilities in dev dependencies (dumi/umi/webpack toolchain)

Open
#1,216 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

Summary

npm audit reports 61 vulnerabilities (25 high, 28 moderate, 8 low) when dev dependencies are included. They come from the docs/build toolchain (dumi, umi, webpack, father, etc.), not from the published library’s production dependencies.

Impact

  • Production / published package: No impact — npm audit --omit=dev shows 0 vulnerabilities.
  • Developers & CI: Anyone running npm install, npm run build, npm run compile, or npm start (dumi dev) installs and uses these vulnerable dev dependencies.

Notable advisories (high severity)

  • serialize-javascript — RCE via RegExp.flags / Date.prototype.toISOString
  • minimatch — ReDoS
  • node-fetch — header forwarding / redirect size issues
  • path-to-regexp — backtracking ReDoS
  • nth-check — ReDoS
  • Plus moderate issues in @babel/runtime, esbuild, react-router, ajv, elliptic, send, etc.

Suggested actions

  1. Run npm audit and, where safe, npm audit fix (avoid --force unless you accept breaking changes).
  2. Upgrade dumi/umi and related tooling to versions that depend on patched packages.
  3. Optionally track this in CI (e.g. npm audit --audit-level=high) so regressions are caught.

Hey, @afc163 are you able to assign it to me, if needed?
Best regards.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm audit and compare it with npm audit --omit=dev to confirm the affected development toolchain. Review the dumi, umi, webpack, and father dependency paths, then evaluate safe upgrades and whether npm audit --audit-level=high can be tracked in CI; done means the reported development-dependency vulnerabilities are addressed without relying on --force.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript, webpack
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.