Skip to content

fix: Bump tmp to 0.2.7 to resolve path traversal vulnerability#6233

Merged
antonis merged 1 commit into
mainfrom
fix/bump-tmp-0.2.6
Jun 1, 2026
Merged

fix: Bump tmp to 0.2.7 to resolve path traversal vulnerability#6233
antonis merged 1 commit into
mainfrom
fix/bump-tmp-0.2.6

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented Jun 1, 2026

📢 Type of change

  • Bugfix

📜 Description

Bumps the tmp dev dependency from 0.2.5 to 0.2.7 in the lockfile to resolve a path traversal vulnerability (CWE-22) reported by Dependabot (#543).

The tmp package is only used by dev/build tooling (@nx/devkit, detox, jscodeshift, etc.) — the SDK source code never imports it directly.

💡 Motivation and Context

Resolves https://github.com/getsentry/sentry-react-native/security/dependabot/543

Versions < 0.2.6 allow path traversal via unsanitized prefix/postfix/dir options. While the practical risk to this repo is negligible (dev-only dependency, no user-controlled input), bumping clears the alert.

💚 How did you test it?

  • yarn why tmp confirms all resolutions now point to 0.2.7
  • Only yarn.lock changed; no source code modifications

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

None — Dependabot alert should auto-close when this merges.

…dependabot#543)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • fix: Bump tmp to 0.2.7 to resolve path traversal vulnerability by antonis in #6233
  • chore(deps): update JavaScript SDK to v10.55.0 by github-actions in #6222
  • chore(deps): update Sentry Android Gradle Plugin to v6.9.0 by github-actions in #6230
  • refactor(android): Convert sentry.gradle to Kotlin DSL (sentry.gradle.kts) by antonis in #6119

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against d5113f7

@antonis antonis marked this pull request as ready for review June 1, 2026 08:17
@antonis antonis merged commit fc25297 into main Jun 1, 2026
84 of 93 checks passed
@antonis antonis deleted the fix/bump-tmp-0.2.6 branch June 1, 2026 11:51
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.

2 participants