Uh oh!
There was an error while loading. Please reload this page.
chore: upgrade @opentelemetry/core to ^2.8.0 to address CVE-2026-54285 - #1413
Conversation
@opentelemetry/core is a transitive dependency requested at several exact pins (2.5.0, 2.5.1, 2.2.0, 2.0.1) and ranges (^2.5.1, ^2.0.0) via Sentry, the OpenTelemetry instrumentation packages, and PostHog. The advisory (GHSA-8988-4f7v-96qf) affects all versions < 2.8.0, so a `yarn up -R` refresh alone can't reach the patched 2.8.0 past the exact pins. Add a root `resolutions` override pinning @opentelemetry/core to ^2.8.0, consistent with the existing @opentelemetry/resources override. After the change `yarn why @opentelemetry/core` collapses to a single 2.8.0 instance. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
WalkthroughAdds a ChangesDependency resolution update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
License Audit
Weak Copyleft Packages (informational)
Resolved Packages (12)
|
Fixes SOU-1365
Fixes SOU-1358
Fixes SOU-1359
Addresses CVE-2026-54285 (GHSA-8988-4f7v-96qf) — unbounded memory allocation in
@opentelemetry/core's W3C Baggageextract()path. The advisory affects all versions< 2.8.0.Why a
resolutionsoverride@opentelemetry/coreis a transitive dependency requested at several exact pins (2.5.0,2.5.1,2.2.0,2.0.1) and ranges (^2.5.1,^2.0.0) via Sentry, the OpenTelemetry instrumentation packages, and PostHog. Ayarn up -R @opentelemetry/corerefresh moves the caret ranges to2.8.0but cannot get past the exact pins (e.g.@opentelemetry/instrumentation-http@0.211.0pins@opentelemetry/core@2.5.0).Since every requested version is in the affected range, this adds a root
resolutionsoverride pinning@opentelemetry/coreto^2.8.0, consistent with the existing@opentelemetry/resourcesoverride. After the change,yarn why @opentelemetry/corecollapses to a single2.8.0instance, so Dependabot alert #235 will clear.Note on duplicate issues
SOU-1358, SOU-1359, and SOU-1365 are all the same CVE against the same package (all tied to Dependabot alert #235). Prior PRs #1340/#1341/#1343 used this identical fix but were closed as mutual duplicates, so nothing ever merged and
mainstill shipped the vulnerable versions. This single PR resolves all three.Verification
yarn installclean;yarn why @opentelemetry/core→ single2.8.0instance, no< 2.8.0requesters remain.@opentelemetry/coreimports in app source (purely transitive).@sourcebot/backend(the flagged Sentry → instrumentation-http → core path) builds clean withtsc.🤖 Generated with Claude Code
Summary by CodeRabbit