Skip to content

fix: Upgrade diff to fix DoS vulnerabilities#11621

Merged
anthonyshew merged 3 commits intomainfrom
anthonyshew/turbo-5178-diff-upgrade
Feb 1, 2026
Merged

fix: Upgrade diff to fix DoS vulnerabilities#11621
anthonyshew merged 3 commits intomainfrom
anthonyshew/turbo-5178-diff-upgrade

Conversation

@anthonyshew
Copy link
Copy Markdown
Contributor

Summary

  • Upgrades diff from 5.1.0 to 5.2.2 in @turbo/codemod (fixes TURBO-5178)
  • Updates lockfile to resolve diff@4.0.4 for ts-node's transitive dependency (fixes TURBO-5177)

Both versions patch a Regular Expression Denial of Service (ReDoS) vulnerability.

Testing

  • @turbo/codemod: 217 tests passing
  • @turbo/gen: 9 tests passing
  • Both packages build successfully

The release workflow now requires explicit secrets declarations.
Update the canary caller to pass them explicitly instead of using
`secrets: inherit`, which is also more secure as it only passes
the required secrets rather than all repository secrets.
@anthonyshew anthonyshew requested a review from a team as a code owner February 1, 2026 21:35
@anthonyshew anthonyshew requested review from tknickman and removed request for a team February 1, 2026 21:35
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
examples-basic-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-designsystem-docs Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-gatsby-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-kitchensink-blog Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-nonmonorepo Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-svelte-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-tailwind-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
examples-vite-web Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
turbo-site Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm
turborepo-test-coverage Ready Ready Preview, Comment, Open in v0 Feb 1, 2026 9:36pm

@anthonyshew anthonyshew merged commit e192b8e into main Feb 1, 2026
47 checks passed
@anthonyshew anthonyshew deleted the anthonyshew/turbo-5178-diff-upgrade branch February 1, 2026 21:40
anthonyshew pushed a commit that referenced this pull request Feb 1, 2026
## Canary Release

Versioned docs: https://v2-8-2-canary-3.turborepo.dev

### Included Changes

- 469f9dd - fix: Upgrade ts-jest to 29.4.6 to fix brace-expansion ReDoS
vulnerabilities (#11623) (#11623)
- af6aef8 - fix: Upgrade inquirer to 8.2.7 to fix tmp vulnerability
(#11622) (#11622)
- 73e1a65 - fix: Consolidate canary releases into release workflow for
npm trusted publishing (#11624) (#11624)
- e192b8e - fix: Upgrade diff to fix DoS vulnerabilities (#11621)
(#11621)
- c79e54e - fix: Upgrade rehype packages to fix mdast-util-to-hast
vulnerability (#11616) (#11616)
- aceb210 - fix: Pass secrets explicitly in canary workflow (#11620)
(#11620)
- d6ca8cd - fix: Add explicit secrets declarations to release
workflow_call trigger (#11619) (#11619)
- a0c22ca - ci: Automated canary release pipeline (#11618) (#11618)

---
Release PR for turborepo v2.8.2-canary.3

Co-authored-by: Turbobot <turbobot@vercel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant