Loading...
Skip to main content

CVE-2023-4785 — Denial of Service Vulnerability in grpcio — CVE...

HIGH

Denial of Service Vulnerability in gRPC TCP Server (Posix-compatible platforms)

Published September 13, 2023Updated September 10, 2026Source: osv

Summary

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. 

Advisory Timeline

  • First published September 13, 2023 (1125 days ago).
  • Last revised September 10, 2026 — 1092 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update grpcio to 1.53.2 or later
pip install "grpcio>=1.53.2"
Bundler
Update grpc to 1.54.3 or later
gem install grpc -v 1.54.3
Bundler
Update grpc to 1.55.3 or later
gem install grpc -v 1.55.3
Bundler
Update grpc to 1.56.2 or later
gem install grpc -v 1.56.2
pip
Update grpcio to 1.55.3 or later
pip install "grpcio>=1.55.3"
pip
Update grpcio to 1.54.3 or later
pip install "grpcio>=1.54.3"
Bundler
Update grpc to 1.53.2 or later
gem install grpc -v 1.53.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (7)

Affects 2 ecosystems: pypi (1), rubygems (1).

PackageEcosystemAffectedFixed In
grpcio
pypi
1.53.0, 1.53.11.53.2
grpc
rubygems
1.54.0, 1.54.21.54.3
grpc
rubygems
1.55.01.55.3
grpc
rubygems
1.56.01.56.2
grpcio
pypi
1.55.01.55.3
grpcio
pypi
1.54.0, 1.54.21.54.3
grpc
rubygems
1.53.0, 1.53.11.53.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2023-4785?
Denial of Service Vulnerability in gRPC TCP Server (Posix-compatible platforms) This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2023-4785?
CVE-2023-4785 affects grpcio and grpc. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-4785 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-p25m-jpj4-qcrr
PYSEC-2026-1428

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies