CVE-2023-4785 Denial of Service in gRPC Core
An attacker can cause a denial of service in gRPC Core on POSIX platforms by initiating numerous connections due to lack of error handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-4785?
CVE-2023-4785 is a high-severity denial of service vulnerability in Google gRPC, published on 13 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Lack of error handling in the TCP server in Google's gRPC starting version 1.23 on posix-compatible platforms (ex. Linux) allows an attacker to cause a denial of service by initiating a significant number of connections with the server. Note that gRPC C++ Python, and Ruby are affected, but gRPC Java, and Go are NOT affected.
Weakness: CWE-248
Which versions are affected by CVE-2023-4785?
15 open source packages ship an affected version, including grpc and grpcio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
grpc RubyGems | From 1.53.0 | 1.53.2 |
grpc RubyGems | From 1.53.0 | 1.53.2 |
grpc RubyGems | From 1.54.0 | 1.54.3 |
grpc RubyGems | From 1.54.0 | 1.54.3 |
grpc RubyGems | From 1.55.0 | 1.55.3 |
grpc RubyGems | From 1.55.0 | 1.55.3 |
9 more packages
grpc RubyGems | From 1.56.0 | 1.56.2 |
grpc RubyGems | From 1.56.0 | 1.56.2 |
grpcio PyPI | From 1.53.0 | 1.53.2 |
grpcio PyPI | From 1.53.0 | 1.53.2 |
grpcio PyPI | From 1.54.0 | 1.54.3 |
grpcio PyPI | From 1.54.0 | 1.54.3 |
grpcio PyPI | From 1.55.0 | 1.55.3, 1.54.3, 1.53.2 |
grpcio PyPI | From 1.55.0 | 1.55.3 |
grpcio PyPI | From 1.55.0 | 1.55.3 |
Products include Grpc Grpc.
How do I fix CVE-2023-4785?
Upgrade grpc to a fixed version for your release line: 1.53.2, 1.54.3, 1.55.3 or 1.56.2.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-4785 being exploited?
There is no known exploitation of CVE-2023-4785 in the wild and no public exploit code.
Other vulnerabilities in Google gRPC
Sources
Also known as AZL-34772, BELL-CVE-2023-4785, DEBIAN-CVE-2023-4785, ECHO-050a-2d98-bb04, GHSA-p25m-jpj4-qcrr, OESA-2023-1682 and 3 more.