Skip to content

DELO-6300: fix dependency security vulnerabilities#233

Open
ikrascloudinary wants to merge 1 commit into
masterfrom
DELO-6300/security-fixes
Open

DELO-6300: fix dependency security vulnerabilities#233
ikrascloudinary wants to merge 1 commit into
masterfrom
DELO-6300/security-fixes

Conversation

@ikrascloudinary

Copy link
Copy Markdown
Contributor

Summary

Vulnerabilities resolved

Dependencies updated

@opentelemetry/core is transitive. The stable otel packages pin it to an exact version (all were 2.7.1), so a lone resolutions override would fight those pins — the whole set must move together. Bumped to the current 0.220.0 (experimental) / 2.9.0 (stable) line:

  • @opentelemetry/exporter-prometheus: ^0.218.0 → ^0.220.0
  • @opentelemetry/instrumentation: ^0.218.0 → ^0.220.0
  • @opentelemetry/instrumentation-express: ^0.66.0 → ^0.68.0
  • @opentelemetry/instrumentation-http: ^0.218.0 → ^0.220.0
  • @opentelemetry/resources: ^2.7.1 → ^2.9.0
  • @opentelemetry/sdk-node: ^0.218.0 → ^0.220.0
  • @opentelemetry/sdk-trace-base: ^2.7.1 → ^2.9.0
  • @opentelemetry/semantic-conventions: ^1.41.1 → ^1.43.0
  • @opentelemetry/api: unchanged at ^1.9.1 (peer ^1.3.0 satisfied)

After install, all 24 copies of @opentelemetry/core dedupe to 2.9.0; none below 2.8.0.

Code changes

  • None. instrumentation.js already uses the v2 API (resourceFromAttributes, NodeSDK, stable ATTR_* from semantic-conventions), which is unchanged across 2.7 → 2.9.

Resolutions

  • None added.

Package version

Test results

  • npm test passed — 13 passing, no hard crashes or module errors.
  • OpenTelemetry boot path smoke-tested OK (node --require ./instrumentation.js), exercising the SDK start + Prometheus exporter registration.

Test plan

  • npm test passes
  • App boots cleanly: node --require ./instrumentation.js start.js (Prometheus exporter on :6060)

Bump the OpenTelemetry package set to the 0.220.0 (experimental) /
2.9.0 (stable) line so the transitive @opentelemetry/core moves from
2.7.1 to 2.9.0 (>= 2.8.0), resolving unbounded resource allocation in
the baggage extract() path (SNYK-JS-OPENTELEMETRYCORE-17373280,
GHSA-8988-4f7v-96qf).

The otel stable packages pin @opentelemetry/core to an exact version,
so a lone resolution isn't safe — the whole set must move together.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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