GO-2024-2978
LOWPrivate tokens could appear in logs if context containing gRPC metadata is logged in github.com/grpc/grpc-go
Impact
This issue represents a potential PII concern. If applications were printing or logging a context containing gRPC metadata, the affected versions will contain all the metadata, which may include private information.
Patches
The issue first appeared in 1.64.0 and is patched in 1.64.1 and 1.65.0
Workarounds
If using an affected version and upgrading is not possible, ensuring you do not log or print contexts will avoid the problem.
- Published
- 5 Jul 2024
- Last modified
- 10 Sep 2026
- Weakness
- CWE-200
- Also known as
- GHSA-xr7q-jx4m-x55m
- Sources
- OSV GHSA-xr7q-jx4m-x55mJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | google.golang.org/grpc | >= 1.64.0, < 1.64.1 | 1.64.1 |
References
- https://github.com/grpc/grpc-go/security/advisories/GHSA-xr7q-jx4m-x55m · WEB, ADVISORY
- https://github.com/grpc/grpc-go/commit/ab292411ddc0f3b7a7786754d1fe05264c3021eb · WEB, FIX
- https://github.com/grpc/grpc-go · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jul 2024)