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.
Problem types
CWE-755: Improper Handling of Exceptional Conditions
Product status
References
github.com/...try-js/security/advisories/GHSA-q7rr-3cgh-j5r3
github.com/...try-js/security/advisories/GHSA-q7rr-3cgh-j5r3