Skip to content

chore(deps): bump go-chi/chi/v5 and otel to fix govulncheck failures - #12662

Merged
LukasHirt merged 2 commits into
stable-8.0from
chore/bump-chi-otel-govulncheck
Jul 28, 2026
Merged

chore(deps): bump go-chi/chi/v5 and otel to fix govulncheck failures#12662
LukasHirt merged 2 commits into
stable-8.0from
chore/bump-chi-otel-govulncheck

Conversation

@LukasHirt

@LukasHirt LukasHirt commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Description

CI's govulncheck step fails on stable-8.0 HEAD due to newly disclosed, fixable CVEs against the currently pinned versions:

  • GO-2026-5774/5775/5777 (IP spoofing via X-Forwarded-For in chi's RealIP middleware)
  • GO-2026-5158 (unbounded baggage header parsing in otel)
  • GO-2026-6061 (vulnerabilities in the xDS RBAC authorization engine and the HTTP/2 transport server implementation in google.golang.org/grpc) — disclosed after this PR was opened, caught by CI on this branch

Bumps github.com/go-chi/chi/v5 to v5.3.0, go.opentelemetry.io/otel (plus metric/trace) to v1.44.0, and google.golang.org/grpc (plus the genproto googleapis/api/googleapis/rpc versions it pulls in) to v1.82.1 to pick up the fixes.

Split out of #12660 per review feedback, so the dependency bumps can be reviewed and merged independently of the LDAP connection pool feature.

Related Issue

N/A (unrelated CI/security fix)

Motivation and Context

govulncheck was blocking CI on #12660 due to these newly-disclosed, unrelated vulnerabilities on stable-8.0's baseline.

How Has This Been Tested?

  • go build ./... passes.
  • go vet ./... and existing unit tests pass unmodified.
  • make govulncheck passes locally (no fixable vulnerabilities found).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

CI's govulncheck step fails on stable-8.0 HEAD due to newly disclosed,
fixable CVEs against the currently pinned versions: GO-2026-5774/5775/5777
(IP spoofing via X-Forwarded-For in chi's RealIP middleware) and
GO-2026-5158 (unbounded baggage header parsing in otel). Bump
github.com/go-chi/chi/v5 to v5.3.0 and go.opentelemetry.io/otel (plus
metric/trace) to v1.44.0 to pick up the fixes.

Signed-off-by: Lukas Hirt <info@hirt.cz>
@update-docs

update-docs Bot commented Jul 27, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@LukasHirt
LukasHirt requested review from a team and 2403905 July 27, 2026 18:22
@LukasHirt LukasHirt self-assigned this Jul 27, 2026
@LukasHirt
LukasHirt enabled auto-merge (squash) July 27, 2026 18:23
@kw-security

kw-security commented Jul 27, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

CI's govulncheck step fails on this branch due to a newly disclosed
CVE against the currently pinned grpc version: GO-2026-6061
(vulnerabilities in the xDS RBAC authorization engine and the HTTP/2
transport server implementation). Bump google.golang.org/grpc to
v1.82.1 (and the genproto googleapis/api, googleapis/rpc versions it
pulls in) to pick up the fix.

Signed-off-by: Lukas Hirt <info@hirt.cz>
@mzner
mzner self-requested a review July 28, 2026 07:02
@LukasHirt
LukasHirt merged commit f28552c into stable-8.0 Jul 28, 2026
59 checks passed
@LukasHirt
LukasHirt deleted the chore/bump-chi-otel-govulncheck branch July 28, 2026 07:03
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.

4 participants