OpenTelemetry JavaScript credential exposure in HTTP server spans
open-telemetry opentelemetry-js
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @opentelemetry/instrumentation-http npm |
|
|
Original description
OpenTelemetry JavaScript is the OpenTelemetry JavaScript client. From 0.204.0 until 0.222.0, @opentelemetry/instrumentation-http writes the raw query string from incoming HTTP requests to the url.query server-span attribute without applying the redactedQueryParams protection used for outgoing spans. Services receiving signed URLs or other credentials in query parameters can therefore export still-valid secrets to tracing backends, where observability infrastructure and users with span-read access may read them. The redactedQueryParams option does not protect incoming spans in affected versions. This issue is fixed in version 0.222.0.
From the CVE record · GitHub_M