CVE-2023-32732: Grpc protobuf GRPC Connection Termination Issue Vulnerability
MODERATECVE-2023-32732 is a MODERATE (CVSS 5.3) grpc connection termination issue vulnerability (CWE-440: Expected Behavior Violation) affecting Grpc protobuf libraries in the Maven ecosystem. The issue involves grpc connection termination issue. Remediation is available by upgrading affected packages to version 1.53.1, 1.54.2.
CVE-2023-32732 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2023-32732
To remediate this vulnerability, upgrade all affected Grpc protobuf dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>1.53.1</version>
</dependency>
pip install grpcio>=1.53.1
Upgrade grpc to 1.53.1
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>1.54.2</version>
</dependency>
pip install grpcio>=1.54.2
Upgrade grpc to 1.54.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.grpc
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-32732, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.grpc
Analyze the terminal output to locate any version of Grpc protobuf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.53.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.grpc command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-440: Expected Behavior Violation, where a feature, api, or function does not perform according to its specification. In Grpc protobuf, 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
CVE-2023-32732 Affected Grpc protobuf Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.grpc:grpc-protobuf
|
Maven |
≥ 1.53.0
< 1.53.1
|
1.53.1
|
|
grpcio
|
PyPI |
≥ 1.53.0
< 1.53.1
|
1.53.1
|
|
grpc
|
RubyGems |
≥ 1.53.0
< 1.53.1
|
1.53.1
|
|
io.grpc:grpc-protobuf
|
Maven |
≥ 1.54.0
< 1.54.2
|
1.54.2
|
|
grpcio
|
PyPI |
≥ 1.54.0
< 1.54.2
|
1.54.2
|
|
grpc
|
RubyGems |
≥ 1.54.0
< 1.54.2
|
1.54.2
|
References
Frequently Asked Questions
What is CVE-2023-32732?
Which Grpc protobuf versions are affected?
What version fixes CVE-2023-32732?
Is grpc-protobuf affected?
Is grpcio affected?
What is the CVSS score of CVE-2023-32732?
What CWE is associated with CVE-2023-32732?
How can I check Maven dependencies for CVE-2023-32732?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9hxf-ppjv-w6rq",
"modified" : "2025-08-13T15:00:12Z",
"published" : "2023-07-06T21:15:08Z",
"aliases" : [ "CVE-2023-32732" ],
"summary" : "gRPC connection termination issue",
"details" : "gRPC contains a vulnerability whereby a client can cause a termination of connection between a HTTP2 proxy and a gRPC server: a base64 encoding error for `-bin` suffixed headers will result in a disconnection by the gRPC server, but is typically allowed by HTTP2 proxies. We recommend upgrading beyond the commit in https://github.com/grpc/grpc/pull/32309.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.grpc:grpc-protobuf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.53.0"
}, {
"fixed" : "1.53.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "grpcio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.53.0"
}, {
"fixed" : "1.53.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "grpc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.53.0"
}, {
"fixed" : "1.53.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.grpc:grpc-protobuf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.54.0"
}, {
"fixed" : "1.54.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "grpcio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.54.0"
}, {
"fixed" : "1.54.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "grpc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.54.0"
}, {
"fixed" : "1.54.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-32732"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc/pull/32309"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc/commit/29d8beee0ac2555773b2a2dda5601c74a95d6c10"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc/commit/65a2a895afaf1d2072447b9baf246374b182a946"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc/releases/tag/v1.53.1"
}, {
"type" : "WEB",
"url" : "https://github.com/grpc/grpc/releases/tag/v1.54.2"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-32732.yml"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/37IDNVY5AWVH7JDMM2SDTL24ZPPZJNSY"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VWE44J5FG7THHL7XVEVTNIGEYBNKJBLL"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-440" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-06T23:56:31Z",
"nvd_published_at" : "2023-06-09T11:15:09Z"
}
}