Public on 2023-11-10
Modified on 2023-12-13
OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. Prior to version 0.46.0, the grpc Unary Server Interceptor out of the box adds labels `net.peer.sock.addr` and `net.peer.sock.port` that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent. An attacker can easily flood the peer address and port for requests. Version 0.46.0 contains a fix for this issue. As a workaround to stop being affected, a view removing the attributes can be used. The other possibility is to disable grpc metrics instrumentation by passing `otelgrpc.WithMeterProvider` option with `noop.NewMeterProvider`.
Important severity
CVSS v3 Base Score
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core amazon-cloudwatch-agent 2024-01-19 ALAS2-2024-2424 Fixed
Amazon Linux 2023 amazon-cloudwatch-agent 2024-01-19 ALAS2023-2024-498 Fixed
Amazon Linux 2 - Docker Extra containerd 2024-02-01 ALAS2DOCKER-2024-037 Fixed
Amazon Linux 2 - Ecs Extra containerd 2024-03-04 ALAS2ECS-2024-035 Fixed
Amazon Linux 2 - Aws-nitro-enclaves-cli Extra containerd 2024-02-01 ALAS2NITRO-ENCLAVES-2024-037 Fixed
Amazon Linux 2023 containerd 2024-01-19 ALAS2023-2024-499 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H