Skip to content

fix: Upgrade tar to fix security vulnerabilities#11602

Merged
anthonyshew merged 3 commits intomainfrom
anthonyshew/turbo-5144-tar-upgrade
Jan 31, 2026
Merged

fix: Upgrade tar to fix security vulnerabilities#11602
anthonyshew merged 3 commits intomainfrom
anthonyshew/turbo-5144-tar-upgrade

Conversation

@anthonyshew
Copy link
Copy Markdown
Contributor

Summary

  • Upgrade tar from 6.1.13 to 7.5.7 to address multiple security vulnerabilities
  • Remove @types/tar devDependency since tar 7.x includes built-in TypeScript types
  • Update import style from default import to namespace import (import * as tar from "tar") to work with tar 7.x's ESM/CJS hybrid exports

Security fixes

This upgrade addresses the following vulnerabilities:

  • TURBO-5144: Arbitrary File Overwrite and Symlink Poisoning (patch: >=7.5.3)
  • TURBO-5145: Race Condition via Unicode Ligature Collisions (patch: >=7.5.4)
  • TURBO-5146: Hardlink Path Traversal (patch: >=7.5.7)
  • TURBO-5150: DoS via folders count validation (patch: >=6.2.1)

Testing

  • All existing tests pass
  • Build succeeds
  • The e2e test produces an installable npm package as before

@anthonyshew anthonyshew requested a review from a team as a code owner January 31, 2026 20:50
@anthonyshew anthonyshew requested review from tknickman and removed request for a team January 31, 2026 20:50
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jan 31, 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 Jan 31, 2026 9:46pm
examples-designsystem-docs Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-gatsby-web Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-kitchensink-blog Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-nonmonorepo Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-svelte-web Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-tailwind-web Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
examples-vite-web Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
turbo-site Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm
turborepo-test-coverage Ready Ready Preview, Comment, Open in v0 Jan 31, 2026 9:46pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 31, 2026

Coverage Report

Metric Coverage
Lines 75.88%
Functions 46.75%
Branches 0.00%

View full report

@vercel vercel Bot temporarily deployed to Preview – turborepo-test-coverage January 31, 2026 21:11 Inactive
@anthonyshew anthonyshew merged commit 94c4024 into main Jan 31, 2026
47 checks passed
@anthonyshew anthonyshew deleted the anthonyshew/turbo-5144-tar-upgrade branch January 31, 2026 21:51
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