Description
opentelemetry-js is the OpenTelemetry JavaScript Client. Prior to 0.217.0, a single malformed HTTP request crashes any Node.js process running the OpenTelemetry JS Prometheus exporter. The metrics endpoint (default 0.0.0.0:9464) has no error handling around URL parsing, so a request with an invalid URI causes an uncaught TypeError that terminates the process. This vulnerability is fixed in 0.217.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| open-telemetry | opentelemetry-js | < 0.217.0 | — |
| @opentelemetry | exporter-prometheus | < 0.217.0 | — |
| @opentelemetry | sdk-node | < 0.217.0 | — |
| @opentelemetry | auto-instrumentations-node | < 0.75.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | langfuse-3 +1 | 3.174.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @opentelemetry/auto-instrumentations-node | >= 0.55.0, < 0.75.0 | 0.75.0 | GHSA-q7rr-3cgh-j5r3 |
| npm | @opentelemetry/exporter-prometheus | < 0.217.0 | 0.217.0 | GHSA-q7rr-3cgh-j5r3 |
| npm | @opentelemetry/sdk-node | >= 0.57.0, < 0.217.0 | 0.217.0 | GHSA-q7rr-3cgh-j5r3 |