Skip to content
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

NPM micromatch reported as moderate security risk #415

Closed
4 tasks done
LarsEmbloom opened this issue Nov 12, 2024 · 1 comment
Closed
4 tasks done

NPM micromatch reported as moderate security risk #415

LarsEmbloom opened this issue Nov 12, 2024 · 1 comment
Labels
Status: Review Needed Request for review comments

Comments

@LarsEmbloom
Copy link

Reporting a bug?

NPM micromatch vulnerablity

Expected behavior

Expected Behavior:
No vulnerabilities found

Actual Behavior:
The following vulnerablity is found:

micromatch  <4.0.8
Severity: moderate
Regular Expression Denial of Service (ReDoS) in micromatch - https://github.com/advisories/GHSA-952p-6rrq-rcjv
fix available via `npm audit fix`
node_modules/micromatch

Reproduction

With NPM run: npm i @intlify/unplugin-vue-i18n

Issue Package

vite-plugin-vue-i18n

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
    Memory: 3.56 GB / 15.85 GB
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 130.0.6723.117
    Edge: Chromium (127.0.2651.98)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    vite: ^5.4.6 => 5.4.10
    vue: ^3.3.8 => 3.5.12
    vue-i18n: ^10.0.3 => 10.0.4

Screenshot

No response

Additional context

Output from: npm ls micromatch

`-- @intlify/unplugin-vue-i18n@5.3.1
  `-- fast-glob@3.3.2
    `-- micromatch@4.0.5

Validations

  • Read the Contributing Guidelines.
  • Read the README
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion.
@LarsEmbloom LarsEmbloom added the Status: Review Needed Request for review comments label Nov 12, 2024
@kazupon
Copy link
Member

kazupon commented Nov 13, 2024

Thank you for your reporting!
This is upstream issue.
mrmlnc/fast-glob#457

This issue should be resolved at fast-glob.

And You can work-around with use overrides feature of package manager.
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides

Thanks

@kazupon kazupon closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

2 participants