Skip to content

fix: resolve npm audit vulnerabilities (brace-expansion, fast-uri, js-yaml) - #164

Open
hong6316 wants to merge 1 commit into
developfrom
feature/NXT-18549
Open

fix: resolve npm audit vulnerabilities (brace-expansion, fast-uri, js-yaml)#164
hong6316 wants to merge 1 commit into
developfrom
feature/NXT-18549

Conversation

@hong6316

Copy link
Copy Markdown
Contributor

Summary

  • Add npm overrides for brace-expansion (^2.1.4), fast-uri (^3.1.5), and js-yaml (^4.3.1)
  • Update eslint-config-enact to vulnerability-fixed version (feature/NXT-18549)
  • Regenerate npm-shrinkwrap.json with patched dependencies
  • Bump version to 7.0.6

Vulnerabilities Resolved

Package Severity Advisory
brace-expansion ≤1.1.17 / 3.0.0–5.0.8 High GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
fast-uri 3.0.0–3.1.4 High GHSA-v2hh-gcrm-f6hx, GHSA-7p8r-x3mc-p8w7, GHSA-4c8g-83qw-93j6
js-yaml 4.0.0–4.3.0 High GHSA-52cp-r559-cp3m, GHSA-5p4m-2wfm-xmqj

Dependencies

Testing

  • npm audit reports 0 vulnerabilities after this change
  • No API changes; overrides only affect transitive dependency resolution

- Update brace-expansion to fix DoS vulnerabilities
- Update fast-uri to fix host confusion vulnerabilities
- Update js-yaml to fix quadratic CPU consumption

Note: Remaining vulnerabilities from eslint-config-enact subdependencies
will be resolved when eslint-config-enact publishes its fix.
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