Skip to content
Heist/ feed
Back to feed
High

golang-opentelemetry-contrib — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-47108

OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. Starting in version 0.37.0 and 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`.

Products
golang-opentelemetry-contrib
Affected versions
0.56.0-5, 1.43.0-1
Fixed versions
Not specified
CVEs
CVE-2023-47108
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-47108

core-osv · Original source

Published 10 Nov 2023, 19:15 UTC

OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. Starting in version 0.37.0 and 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`.

osv:UBUNTU-CVE-2023-47108

golang-opentelemetry-contrib

Fixed versions: Not specified

golang-opentelemetry-contrib

Fixed versions: Not specified

golang-opentelemetry-contrib

Fixed versions: Not specified

Complete source record
{
  "id": "c29ab6cd3e4278bb8802fc7c6a73a7afb1fb9e7f172220294bdfb5fffe58841f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-47108",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-47108",
    "summary": "OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. Starting in version 0.37.0 and 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`.",
    "evidence": "osv:UBUNTU-CVE-2023-47108",
    "products": [
      {
        "name": {
          "value": "golang-opentelemetry-contrib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.56.0-5",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-contrib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.56.0-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.43.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-opentelemetry-contrib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.56.0-5",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2023-47108",
      "aliases": [
        "UBUNTU-CVE-2023-47108"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-contrib",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-contrib?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.56.0-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47108.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-contrib-dev",
                "binary_version": "0.56.0-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-contrib",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-contrib?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.56.0-5",
            "1.43.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47108.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-contrib-dev",
                "binary_version": "1.43.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-opentelemetry-contrib",
            "purl": "pkg:deb/ubuntu/golang-opentelemetry-contrib?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.56.0-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47108.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-opentelemetry-contrib-dev",
                "binary_version": "0.56.0-5"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:21.675735288Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-47108"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-47108",
        "https://www.cve.org/CVERecord?id=CVE-2023-47108"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-47108",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357317,
  "published_at": "2023-11-10T19:15:00+00:00"
}