GHSA-xr7q-jx4m-x55m: Google.golang.org/grpc Private Tokens Could Appear Vulnerability
LOWGHSA-xr7q-jx4m-x55m is a LOW private tokens could appear vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Google.golang.org/grpc libraries in the Go ecosystem. The issue involves private tokens could appear in logs if context containing grpc metadata is logged in github.com/grpc/grpc-go. Remediation is available by upgrading affected packages to version 1.64.1.
GHSA-xr7q-jx4m-x55m at a Glance
How to Fix GHSA-xr7q-jx4m-x55m
To remediate this vulnerability, upgrade all affected Google.golang.org/grpc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade google.golang.org/grpc to 1.64.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for google.golang.org/grpc
How to Check if You Are Affected
To determine whether your application is affected by GHSA-xr7q-jx4m-x55m, inspect your project dependencies for Google.golang.org/grpc:
inspect dependencies for google.golang.org/grpc
Analyze the terminal output to locate any version of Google.golang.org/grpc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.64.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Google.golang.org/grpc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-xr7q-jx4m-x55m Affected Google.golang.org/grpc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
google.golang.org/grpc
|
Go |
≥ 1.64.0
< 1.64.1
|
1.64.1
|
References
Frequently Asked Questions
What is GHSA-xr7q-jx4m-x55m?
Which Google.golang.org/grpc versions are affected?
What version fixes GHSA-xr7q-jx4m-x55m?
Is google.golang.org/grpc affected?
What CWE is associated with GHSA-xr7q-jx4m-x55m?
How can I check Go dependencies for GHSA-xr7q-jx4m-x55m?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xr7q-jx4m-x55m",
"modified" : "2024-07-09T21:38:29Z",
"published" : "2024-07-05T20:07:01Z",
"aliases" : [ ],
"summary" : "Private tokens could appear in logs if context containing gRPC metadata is logged in github.com/grpc/grpc-go",
"details" : "### Impact\nThis 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.\n\n### Patches\nThe issue first appeared in 1.64.0 and is patched in 1.64.1 and 1.65.0\n\n### Workarounds\nIf using an affected version and upgrading is not possible, ensuring you do not log or print contexts will avoid the problem.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "google.golang.org/grpc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.64.0"
}, {
"fixed" : "1.64.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-go/security/advisories/GHSA-xr7q-jx4m-x55m"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc-go/commit/ab292411ddc0f3b7a7786754d1fe05264c3021eb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grpc/grpc-go"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-05T20:07:01Z",
"nvd_published_at" : null
}
}