Repository navigation
build(deps): Bump google.golang.org/grpc from 1.82.1 to 1.83.2 - #1433
Conversation
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]>
🔒 Dependency Security Audit —
|
| 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.modhashes confirmed against the Go checksum transparency log (sum.golang.org/lookup). Exact match. - Tag
v1.83.2→ commit030ee8be;version.goagrees. 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/transportreceive-buffer compaction). Audited line by line.recvMsgcarriesbufferXORerr— 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/hpacklazy lookup maps. This one I chased hard:search()now builds its maps lazily and is called on the package-level sharedstaticTable— which would be a concurrent map write across connections. Cleared:staticTableis a code-generated literal with both maps populated at compile time, so the lazy path is never taken on it, and eviction is guarded byt != staticTable. Decoder tables never callsearch, 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. Theinternal/poly1305change only addsriscv64to existing build tags — amd64/arm64 implementation selection is untouched. The 0.55.0 SSH fixes are real butx/crypto/sshis not imported.x/net. We import onlynetutildirectly, 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
Bumps google.golang.org/grpc from 1.82.1 to 1.83.2.
Release notes
Sourced from google.golang.org/grpc's releases.
... (truncated)
Commits
030ee8bUpdate version to 1.83.2 (#9375)8668b69cherry-pick #9365 to v1.83.x (#9366)a3e952dcherry-pick #9346 to v1.83.x and update x/net dependency (#9369)58f8fd9Change version to 1.83.2-dev (#9337)1550d9eChange version to 1.83.1 (#9336)ebba6f3Cherry-pick #9258 and #9332 into v1.83.x (#9335)8cfeca0Cherry-pick #9331 to v1.83.x (#9333)dec6951Change version to 1.83.1-dev (#9229)4c226daChange version to 1.83.0 (#9228)c198988Cherrypick 9223 into v1.83.x (#9279)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)