Skip to content

fix(deps): runtime dependency security fixes - #23245

Open
javascript-sdk-gitflow[bot] wants to merge 1 commit into
developfrom
bot/dependabot-fixes-runtime
Open

fix(deps): runtime dependency security fixes#23245
javascript-sdk-gitflow[bot] wants to merge 1 commit into
developfrom
bot/dependabot-fixes-runtime

Conversation

@javascript-sdk-gitflow

Copy link
Copy Markdown
Contributor

Summary

Batched runtime dependency security fixes. One commit per vulnerability.

Fixes

Only yarn.lock changed: every vulnerable brace-expansion@1.1.11 instance is a deep transitive dependency pulled in through minimatch@3 in dev/build tooling, all resolving from the ^1.1.7 range. Bumping the lockfile moves that range to the patched maintenance release 1.1.18 (> 1.1.16) without any package.json or resolutions change. The 2.x and 5.x lines were also refreshed by the dedupe pass; neither was in the vulnerable range.

🤖 Generated with Claude Code

Resolves GHSA-3jxr-9vmj-r5cp / CVE-2026-13149 (high). Dependabot alert: https://github.com/getsentry/sentry-javascript/security/dependabot/2060

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread yarn.lock
Comment on lines +7507 to +7510
"@sentry/conventions@^0.16.0":
version "0.16.0"
resolved "https://registry.yarnpkg.com/@sentry/conventions/-/conventions-0.16.0.tgz#3b58d15714cf44dca1518496c00749eec5525009"
integrity sha512-fO9PLmHdVURcSPUpWCItWAtgKiMwGdJHbovoSEyLplX5sxs2ugvI4CBPTrkkgqhObnZOD0CnWBKDzSVQYBKEyQ==

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The PR locks @sentry/conventions to 0.16.0 for @sentry/effect, but it's unverified if this version exports the constants the package imports, risking a runtime error.
Severity: HIGH

Suggested Fix

Verify that @sentry/conventions@0.16.0 exports all constants required by @sentry/effect. If it does not, update the dependency for @sentry/effect in its package.json to use a compatible version of @sentry/conventions (e.g., ^0.19.0 to match other packages) and regenerate the lockfile.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: yarn.lock#L7507-L7510

Potential issue: The pull request introduces a `yarn.lock` entry for
`@sentry/conventions@^0.16.0`, resolving to version `0.16.0`. This dependency is used by
the `@sentry/effect` package, which imports constants like `SENTRY_OP` and
`WEB_SERVER_HTTP_CLIENT_SPAN_OP`. It is unverified if version `0.16.0` of
`@sentry/conventions` actually exports these constants, as other packages in the
repository use version `^0.19.0`. If these exports are missing, it will cause a runtime
failure in the `@sentry/effect` package when tracing is initialized. This change was
part of an automated, unmentioned "dedupe pass", increasing the risk of it being an
unintended breaking change.

Did we get this right? 👍 / 👎 to inform future reviews.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.35 kB - -
@sentry/browser - with treeshaking flags 28.52 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.85 kB - -
@sentry/browser (incl. Tracing) 48.61 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.62 kB - -
@sentry/browser (incl. Tracing, Profiling) 53.46 kB - -
@sentry/browser (incl. Tracing, Replay) 88.04 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.45 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.77 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.45 kB - -
@sentry/browser (incl. Feedback) 47.69 kB - -
@sentry/browser (incl. sendFeedback) 35.18 kB - -
@sentry/browser (incl. FeedbackAsync) 40.33 kB - -
@sentry/browser (incl. Metrics) 31.43 kB - -
@sentry/browser (incl. Logs) 31.66 kB - -
@sentry/browser (incl. Metrics & Logs) 32.34 kB - -
@sentry/react 32.14 kB - -
@sentry/react (incl. Tracing) 50.82 kB - -
@sentry/vue 35.45 kB - -
@sentry/vue (incl. Tracing) 50.59 kB - -
@sentry/svelte 30.38 kB - -
CDN Bundle 31.61 kB - -
CDN Bundle (incl. Tracing) 48.92 kB - -
CDN Bundle (incl. Logs, Metrics) 33.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.88 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 86.49 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.4 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.18 kB - -
CDN Bundle - uncompressed 93.95 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.92 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.42 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.78 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.34 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.17 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.7 kB - -
@sentry/nextjs (client) 53.38 kB - -
@sentry/sveltekit (client) 49.03 kB - -
@sentry/core/server 65.65 kB - -
@sentry/core/browser 51.98 kB - -
@sentry/node 118.46 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.57 kB -0.01% -1 B 🔽
@sentry/aws-serverless 91.94 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 214.7 kB - -
@sentry/cloudflare (withSentry) 530.37 kB - -

View base workflow run

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.

0 participants