Skip to content

fix(deps): resolve 4 high severity security vulnerabilities#401

Closed
theluckystrike wants to merge 1 commit intotilfinltd:mainfrom
theluckystrike:fix/npm-audit-vulnerabilities
Closed

fix(deps): resolve 4 high severity security vulnerabilities#401
theluckystrike wants to merge 1 commit intotilfinltd:mainfrom
theluckystrike:fix/npm-audit-vulnerabilities

Conversation

@theluckystrike
Copy link
Copy Markdown
Contributor

Summary

This PR resolves 4 high and 1 moderate severity security vulnerabilities identified by npm audit:

Vulnerabilities Fixed

Package Severity CVE/GHSA Issue
rollup High GHSA-mw96-cpmx-2vgc Arbitrary File Write via Path Traversal
glob High GHSA-5j98-mcp5-4vw2 Command injection via -c/--cmd
minimatch High GHSA-3ppc-4f35-3m26 ReDoS via repeated wildcards
minimatch High GHSA-7r86-cg39-jmmj ReDoS in matchOne()
minimatch High GHSA-23c5-xmqv-rm74 ReDoS via nested extglobs
js-yaml Moderate GHSA-mh29-5h37-fv8m Prototype pollution in merge

Changes Made

  • Updated package-lock.json with fixed dependency versions
  • All tests pass (31 passing)

Note

3 vulnerabilities remain that require breaking changes to mocha (diff, serialize-javascript). These would need a mocha major version upgrade which is out of scope for this security fix.


Contributed by theluckystrike | Zovo (zovo.one) — Chrome Extension Studio

- Update rollup to 4.59.0 (arbitrary file write via path traversal)
- Update glob to fix command injection via -c/--cmd
- Update minimatch to fix ReDoS vulnerabilities
- Update js-yaml to fix prototype pollution

Resolved vulnerabilities:
- GHSA-mw96-cpmx-2vgc (rollup)
- GHSA-5j98-mcp5-4vw2 (glob)
- GHSA-3ppc-4f35-3m26 (minimatch)
- GHSA-7r86-cg39-jmmj (minimatch)
- GHSA-23c5-xmqv-rm74 (minimatch)
- GHSA-mh29-5h37-fv8m (js-yaml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant