Skip to content

fix: resolve security vulnerabilities in dependencies#714

Closed
nikita-masalov wants to merge 4 commits intomasterfrom
GRAL-5670
Closed

fix: resolve security vulnerabilities in dependencies#714
nikita-masalov wants to merge 4 commits intomasterfrom
GRAL-5670

Conversation

@nikita-masalov
Copy link
Contributor

@nikita-masalov nikita-masalov commented Mar 9, 2026

Related documents

https://pipedrive.atlassian.net/browse/GRAL-5670
https://pipedrive.atlassian.net/browse/GRAL-5744
https://pipedrive.atlassian.net/browse/GRAL-5759

Summary

  • Bump axios ^1.9.0^1.13.6 (CVE-2026-25639, DoS via __proto__)
  • Bump qs ^6.11.0^6.14.2 (CVE-2025-15284, DoS via arrayLimit bypass)
  • Bump typescript-eslint ^8.22.0^8.56.1 (fixes transitive minimatch@9 vulnerability)
  • Add override: minimatch ^10.2.1 (CVE-2026-26996, ReDoS via eslint/mocha chains)
  • Add override: serialize-javascript ^7.0.4 (RCE via mocha)
  • Replace unmaintained pre-commit with @fastify/pre-commit (fixes CVE-2024-21538 cross-spawn ReDoS at the source)

Resolves GRAL-5670, GRAL-5744, GRAL-5759

Test plan

  • Run npm audit and verify no HIGH or CRITICAL vulnerabilities remain
  • Run npm test to confirm nothing is broken
  • Verify pre-commit hooks still trigger on commit

🤖 Generated with Claude Code

nikita-masalov and others added 4 commits March 9, 2026 16:52
- Bump axios ^1.9.0 -> ^1.13.6 (CVE-2026-25639, DoS via __proto__)
- Bump qs ^6.11.0 -> ^6.14.2 (CVE-2025-15284, DoS via arrayLimit bypass)
- Bump typescript-eslint ^8.22.0 -> ^8.56.1 (fixes minimatch@9 transitive dep)
- Add overrides: minimatch ^10.2.1 (CVE-2026-26996, ReDoS via eslint/mocha)
- Add overrides: cross-spawn ^7.0.6 (CVE-2024-21538, ReDoS via pre-commit)
- Add overrides: serialize-javascript ^7.0.4 (RCE via mocha)

Resolves GRAL-5670, GRAL-5744, GRAL-5759

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The pre-commit package is unmaintained and carried a vulnerable version
of cross-spawn (CVE-2024-21538). @fastify/pre-commit is a maintained
drop-in replacement that ships with a safe cross-spawn@^7.0.3.

Also removes the now-unnecessary cross-spawn override.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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