Skip to content

GHSA-q7gw-24fr-5p69: Go SDK pins otel/sdk and otel/trace below 1.47.0, and modules can't bump them #15205

Open

Description

@JacobLey

What is the issue?

GHSA-q7gw-24fr-5p69 (CVE-2026-128085, moderate) affects go.opentelemetry.io/otel/sdk and go.opentelemetry.io/otel/trace before 1.47.0: AttributeValueLengthLimit is bypassed by values made of U+FFFD runes.

The Go SDK pins both below the fix: sdk/go/go.mod at v0.21.12 requires 1.43.0, and main is at 1.46.0 (trace) and 1.43.0 (sdk).

A module can't bump them itself. otel/sdk 1.47.0 requires otel/log 1.47.0, but generated modules get the SDK's replace go.opentelemetry.io/otel/log => v0.16.0, and github.com/dagger/otel-go v1.43.0 uses log.KeyValue, which otel/log 1.47 replaced with attribute.KeyValue in Record.WalkAttributes. So it needs a Dagger release with a newer otel-go and without the log replaces (related: #13040).

It may well not be exploitable through Dagger, but it's reported by Dependabot (and other scanners) on every Go module, so bumping would clear it for everyone downstream.

Dagger version

v0.21.12

Steps to reproduce

  1. dagger init --sdk=go
  2. Scan it (Dependabot, Grype): both packages are reported at 1.43.0
  3. go get go.opentelemetry.io/otel/[email protected]: the module no longer builds (dagger/otel-go against otel/log 1.47)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions