Skip to content

fix: patch otel baggage DoS and Go stdlib crypto CVEs#36

Merged
peterborodatyy merged 3 commits into
masterfrom
fix/bump-clickhouse-go-otel-baggage
Apr 26, 2026
Merged

fix: patch otel baggage DoS and Go stdlib crypto CVEs#36
peterborodatyy merged 3 commits into
masterfrom
fix/bump-clickhouse-go-otel-baggage

Conversation

@peterborodatyy

@peterborodatyy peterborodatyy commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

Closes Dependabot alert #4 (GHSA-mh2q-q3fh-2475) and clears four Go stdlib CVEs flagged by govulncheck.

Changes

  • clickhouse-go/v2: v2.43.0 → v2.45.0
    Pulls in go.opentelemetry.io/otel v1.39.0 → v1.41.0, fixing GHSA-mh2q-q3fh-2475 / CVE-2026-29181 (multi-value baggage header DoS amplification). This service does not extract baggage headers, so practical exposure is nil — the bump silences the scanner alert.
  • go-ua-parser: v0.2.0 → v0.2.2 (patch release; example-deps only, no API change).
  • Go: 1.26.1 → 1.26.2 (go.mod) and golang:1.25-alpine → golang:1.26-alpine (Dockerfile). Patches four reachable stdlib CVEs:
    • GO-2026-4870 — TLS 1.3 KeyUpdate connection-retention DoS
    • GO-2026-4866 — case-sensitive excludedSubtrees name-constraint auth bypass
    • GO-2026-4946 — inefficient X.509 policy validation
    • GO-2026-4947 — unbounded chain-building work
      Reachable from http.ListenAndServe (/healthz, /metrics) and the ClickHouse client's TLS dialers.
  • README: Go 1.25+ → Go 1.26+ to match go.mod.

Pulls in go.opentelemetry.io/otel v1.41.0 transitively, which fixes
GHSA-mh2q-q3fh-2475 (CVE-2026-29181): multi-value baggage header
extraction allows DoS amplification by aggregating members across
header values past per-value parse limits.

This service does not extract baggage headers, so exploitability is
nil — the bump silences the scanner alert and keeps the dependency
tree current.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
peterborodatyy and others added 2 commits April 26, 2026 10:28
Picks up four stdlib fixes flagged by govulncheck:
  - GO-2026-4870 (TLS 1.3 KeyUpdate DoS)
  - GO-2026-4866 (case-sensitive excludedSubtrees auth bypass)
  - GO-2026-4946 (inefficient policy validation)
  - GO-2026-4947 (unbounded chain building work)

All four are reachable from this binary via http.ListenAndServe
and the ClickHouse client's TLS dialers. Dockerfile is bumped from
golang:1.25-alpine to golang:1.26-alpine so produced images carry
the patched stdlib.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
go.mod now declares go 1.26.2 (for crypto/tls and crypto/x509 CVE
fixes), so the README's "Go 1.25+" line was stale.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@peterborodatyy peterborodatyy changed the title fix: bump clickhouse-go to v2.45.0 and go-ua-parser to v0.2.2 fix: patch otel baggage DoS and Go stdlib crypto CVEs Apr 26, 2026
@peterborodatyy
peterborodatyy merged commit 1a749e8 into master Apr 26, 2026
10 checks passed
@peterborodatyy
peterborodatyy deleted the fix/bump-clickhouse-go-otel-baggage branch April 26, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant