Skip to content

fix: upgrade diff to fix DoS vulnerability - #1172

Closed
yaoyunvfx-png wants to merge 1 commit into
garrytan:mainfrom
yaoyunvfx-png:fix/security-vulnerabilities
Closed

yaoyunvfx-png wants to merge 1 commit into
garrytan:mainfrom
yaoyunvfx-png:fix/security-vulnerabilities

Conversation

@yaoyunvfx-png

Copy link
Copy Markdown

Summary

Fixes security vulnerability in the diff (jsdiff) package.

Changes

  • Upgrade diff from 8.0.2 to 9.0.0
  • Resolves GHSA-73rr-hh4g-fpgx (Denial of Service in parsePatch and applyPatch)
  • npm audit now shows 0 vulnerabilities

Verification

npm audit
→ found 0 vulnerabilities

This is a breaking change (major version bump) but necessary to fix the security issue.

- Upgrade diff from 8.0.2 to 9.0.0
- Fixes GHSA-73rr-hh4g-fpgx (Denial of Service in parsePatch and applyPatch)
- npm audit now shows 0 vulnerabilities
time-attack pushed a commit to time-attack/gstack that referenced this pull request Jul 14, 2026
Reconstructs the shared fix from PRs garrytan#1599 and garrytan#1172 without their VERSION or npm lockfile changes.
@time-attack

Copy link
Copy Markdown
Contributor

@16francej — recommend closing this PR. This is superseded by #1599, which handles the project lockfiles more completely. Unresolved security problems remain, and #1172 also introduces an outdated npm lockfile. Please preserve the advisory reporter’s attribution in #1599.

@capy-ai

capy-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for this, @yaoyunvfx-png. The fix is now on main: package.json now depends on diff ^9.0.0 (already on main as of v1.91.16.0). Closing as superseded; if you still see the problem on the latest gstack, please open an issue with ./setup --status output.

@capy-ai capy-ai Bot closed this Oct 3, 2026
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.

3 participants