Open-telemetry opentelemetry-js
opentelemetry-js: Prometheus exporter process crash via malformed HTTP request
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.217.0
Fixed in 0.217.0
- < 0.217.0
Fixed in 0.217.0
- < 0.217.0
Fixed in 0.217.0
- < 0.75.0
Fixed in 0.75.0
Mitigation
Upgrade opentelemetry-js to 0.217.0 or later.
Upgrade exporter-prometheus to 0.217.0 or later.
Upgrade sdk-node to 0.217.0 or later.
Upgrade auto-instrumentations-node to 0.75.0 or later.
References
- Vendor advisory github.com/open-telemetry/opentelemetry-js/sec…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.