GHSA-cx3c-rmcx-ff35: OpenTelemetry Collector: exporterhelper metadata partition-key collisions allow cross-tenant telemetry mixture
The exporter queue-batching code builds its per-tenant partition key without clear boundaries between values. Two different sets of client metadata can therefore produce the same key. Their telemetry is then batched together and exported under the first request’s metadata. This can misattribute telemetry data across tenants.
Users are only affected if their collector config has all of the following:
- An exporter with
sending_queueenabled andsending_queue::batch::partition::metadata_keysset to two or more keys (batching andmetadata_keysare both off by default). - A receiver with
include_metadata: true, so client metadata reaches the exporter. - Clients that can send multi-valued headers or metadata for those keys.
References
- github.com/advisories/GHSA-cx3c-rmcx-ff35
- github.com/open-telemetry/opentelemetry-collector/commit/24210a76696065012d05a501262c9d91ca19eb48
- github.com/open-telemetry/opentelemetry-collector/commit/fd8963df2ad6d95afdad68b96f3f17db94d5fa6d
- github.com/open-telemetry/opentelemetry-collector/pull/14139
- github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.164.0
- github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-cx3c-rmcx-ff35
Code Behaviors & Features
Detect and mitigate GHSA-cx3c-rmcx-ff35 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →