Skip to content

build(deps): Bump google.golang.org/grpc from 1.82.1 to 1.83.2 - #1433

Merged
lklimek merged 1 commit into
v1.7-devfrom
dependabot/go_modules/google.golang.org/grpc-1.83.2
Sep 2, 2026
Merged

lklimek merged 1 commit into
v1.7-devfrom
dependabot/go_modules/google.golang.org/grpc-1.83.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps google.golang.org/grpc from 1.82.1 to 1.83.2.

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.83.2

Security

  • server: Reject requests missing both :authority and Host headers with HTTP 400 and status Internal. (grpc/grpc-go#9365)

Release 1.83.1

Security

  • xds/rbac: Fix a bug where nested Principal or Permission rules with :scheme or grpc- prefixed header matchers were not rejected, which could cause DENY rules to fail open. (#9258)
  • xds/rbac: Fix a bug where the host header matcher was not being replaced with :authority in nested Principal or Permission rules. (#9258)
  • xds/rbac: Fix a bug where a header matcher whose name was not lowercase, such as X-Role, matched no header, which could cause DENY rules to fail open. (#9332)
  • xds/rbac: Fix a bug where a :scheme or grpc- prefixed header matcher was accepted when its name was not lowercase. (#9332)
  • xds/rbac: Fix a bug where a Host header matcher was not replaced with :authority. (#9332)

Performance

  • transport: Restrict memory overhead of buffering small data frames. (#9331)

Release 1.83.0

Security

  • server: Stop reading from connections when flooded by HTTP/2 frames to mitigate resource exhaustion. The default value for this limit is 100 frames, excluding DATA and HEADERS, and may be changed by setting environment variable GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT.
  • xds/rbac: Support Metadata and RequestedServerName permissions matcher fields. If present in a DENY rule, previously these would be ignored and fail-open.
  • xds/rbac: Fix panic when parsing unsupported fields in NotRule/NotId permissions.
  • xds/rbac: Support the deprecated source_ip principal identifier by treating it as equivalent to direct_remote_ip.
  • xds: Fix panic when parsing route header matchers configured with empty exact_match, prefix_match, or suffix_match strings. (#9223)

New Features

  • xds/googlec2p: Enable DirectPath over Interconnect support for on-premises clients via the force-xds target URI query parameter. (#9133)
  • xds: Enable xDS configuration to control which fields get propagated from ORCA backend metric reports to LRS load reports. (#9145)
  • authz: Add OnPolicyUpdate callback to FileWatcherOptions to notify when an authz policy is loaded or updated. (#9142)
  • xds: Add support for the GCP Authentication HTTP Filter, which automatically fetches and attaches GCP Service Account Identity JWT tokens to outgoing RPCs.
    • This feature can be enabled by setting environment variable GRPC_EXPERIMENTAL_XDS_GCP_AUTHENTICATION_FILTER=true. (#9119)
  • xds: Add support for xDS-based HTTP CONNECT proxies.
    • This feature can be enabled by setting environment variable GRPC_EXPERIMENTAL_XDS_HTTP_CONNECT=true. (#9151)
  • xds: Add support for contains_match in route header matchers. (#9223)

Bug Fixes

  • credentials/alts: Fix panic when processing malformed frames by validating that the message frame length exceeds the message type field size. (#9197)
  • grpc: Fix compilation on Plan 9 targets (GOOS=plan9), broken since v1.81.0. (#9255)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.82.1 to 1.83.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.82.1...v1.83.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.83.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

🔒 Dependency Security Audit — google.golang.org/grpc 1.82.1 → 1.83.2

Verdict: SAFE — and this one should go in promptly. It closes a live HIGH-severity CVE that v1.7-dev is exposed to right now.

I do not take a green scanner as evidence of anything, so I read the upstream diff. Just as well.

⚠️ This bump is a security fix, not routine maintenance

Advisory GHSA-vp52-pcj8-j9qc / CVE-2026-84304
Severity HIGH — CVSS 4.0 8.7 (AV:N/AC:L/PR:N/UI:N/VA:H), CWE-400
Affected grpc-go ≤ 1.83.0 — fixed in 1.83.1
Base branch today v1.7-dev pins 1.82.1 → affected
This PR 1.83.2 → OSV returns zero vulnerabilities

An unauthenticated remote attacker fragments a payload into millions of 1-byte HTTP/2 DATA frames. Each fragment carries ~56 bytes of internal tracking overhead even though the total payload stays comfortably inside the flow-control window; multiplexed across streams this exhausts the heap and takes the process down. Remote DoS, no credentials required.

A word of warning for the record: upstream shipped this fix in v1.83.1 filed under "Performance", not "Security", and the advisory was only published 2026-09-01 — long after the release. govulncheck and OSV were both green on 1.82.1 for that entire window while it was exploitable. The same goes for #9365 and the ALTS panic fix #9197: real security fixes, no CVE assigned. Scanner silence on this dependency means nothing.

Supply-chain integrity — verified independently of this repo

  • All four h1: and /go.mod hashes confirmed against the Go checksum transparency log (sum.golang.org/lookup). Exact match.
  • Tag v1.83.2 → commit 030ee8be; version.go agrees. 32 commits, 96 files, every one accounted for by a release-note entry.
  • No install/build hooks (Go modules have none), no obfuscation, no new outbound calls on any path we compile. Only non-Go file touched upstream is scripts/vet.sh — their CI lint, never executed by consumers.

The title undersells the diff — this is expected, and I checked it

Four modules move, not one. Every collateral bump is forced by MVS from grpc 1.83.2's own go.mod (verified against proxy.golang.org), so nothing was smuggled in:

Module Old → New Why
google.golang.org/grpc 1.82.1 → 1.83.2 the bump
golang.org/x/net 0.57.0 → 0.58.0 required by grpc 1.83.2
golang.org/x/crypto 0.54.0 → 0.55.0 required by grpc 1.83.2
golang.org/x/text 0.40.0 → 0.41.0 required by grpc 1.83.2

Diff is go.mod + go.sum only, per this repo's convention. go mod tidy is a no-op.

Source-level audit of what we actually compile

Most of the 96 files (xDS, RBAC, GCP auth, ALTS, advancedtls, googledirectpath) are unreachable from this codebase — confirmed by import scan, not assumption. What we do compile:

  • The CVE fix itself (internal/transport receive-buffer compaction). Audited line by line. recvMsg carries buffer XOR err — verified across every construction site — so coalescing payloads cannot swallow an error or reorder a stream; the consumer is a byte-stream reader with no message-boundary semantics. Suffix accounting traced through empty-buffer, error-message, post-compaction and partial-drain interleavings. Zero-length DATA-frame floods collapse correctly rather than degenerating. Sound.
  • x/net/http2/hpack lazy lookup maps. This one I chased hard: search() now builds its maps lazily and is called on the package-level shared staticTable — which would be a concurrent map write across connections. Cleared: staticTable is a code-generated literal with both maps populated at compile time, so the lazy path is never taken on it, and eviction is guarded by t != staticTable. Decoder tables never call search, so their maps stay nil — a net per-connection memory reduction. No race.
  • x/crypto. Every package we import (chacha20poly1305, curve25519, hkdf, nacl/box, ripemd160) is byte-identical between 0.54.0 and 0.55.0. The internal/poly1305 change only adds riscv64 to existing build tags — amd64/arm64 implementation selection is untouched. The 0.55.0 SSH fixes are real but x/crypto/ssh is not imported.
  • x/net. We import only netutil directly, unchanged in 0.58.0.

Findings

SEC-001 — Bump remediates a live HIGH CVE · INFO (positive)
Merging is the remediation. See above.

SEC-002 — ABCI gRPC server built with no resource limits · MEDIUM · pre-existing, not a blocker
abci/server/grpc_server.go:46 calls bare grpc.NewServer() — no MaxConcurrentStreams, no MaxRecvMsgSize override, no keepalive EnforcementPolicy, no TLS, on an operator-supplied listen address. grpc-go leaves max concurrent streams effectively unbounded by default, which is precisely the amplifier CVE-2026-84304 leaned on. This PR closes the fragmentation vector; the generic hardening gap remains open.
Not introduced here and it does not block this merge — but worth a follow-up adding grpc.MaxConcurrentStreams(...) and a keepalive EnforcementPolicy. Compare cmd/priv_val_server/main.go:106, which does configure TLS credentials properly.

SEC-003 — Behavioural tightening in 1.83.2 · LOW · non-blocking
grpc-go #9365 now rejects requests missing both :authority and Host with HTTP 400 / codes.Internal. grpc-go clients always set :authority, so our own clients are fine. Only a hand-rolled or proxy-fronted HTTP/2 client talking to the ABCI or privval endpoint could regress. Flagging it so nobody is surprised.

SEC-004 — New default-on receive-buffer compaction · INFO
Enabled by default, with escape hatch GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION=false. Logic audited and found sound. Noting it purely so operators know the knob exists.

Verdict

Integrity clean, checksums independently verified, no vulnerabilities in the resulting versions, and it removes a remotely-exploitable unauthenticated OOM from the base branch. The single MEDIUM is pre-existing hardening debt, not a property of this change.

Recommend merge. 🍬 4 findings — 1 MEDIUM, 1 LOW, 2 INFO.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek
lklimek merged commit 4c88b2a into v1.7-dev Sep 2, 2026
21 of 22 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/google.golang.org/grpc-1.83.2 branch September 2, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants