---
id: CVE-2023-4785
aliases:
  - GHSA-p25m-jpj4-qcrr
  - PYSEC-2026-1428
title: >-
  Denial of Service Vulnerability in gRPC TCP Server (Posix-compatible
  platforms)
summary: >-
  Denial of Service Vulnerability in gRPC TCP Server (Posix-compatible
  platforms)
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: grpc
product: grpc
ecosystem: rubygems
affected:
  - 'grpc >= 1.56.0, < 1.56.2'
  - 'grpc >= 1.55.0, < 1.55.3'
  - 'grpc >= 1.54.0, < 1.54.3'
  - 'grpc >= 1.53.0, < 1.53.2'
  - 'grpcio >= 1.55.0, < 1.55.3'
  - 'grpcio >= 1.54.0, < 1.54.3'
  - 'grpcio >= 1.53.0, < 1.53.2'
patched:
  - grpc 1.56.2
  - grpc 1.55.3
  - grpc 1.54.3
  - grpc 1.53.2
  - grpcio 1.55.3
  - grpcio 1.54.3
  - grpcio 1.53.2
published: '2023-09-13'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:58.731823990Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-p25m-jpj4-qcrr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-4785'
  - url: 'https://github.com/grpc/grpc/pull/33656'
  - url: 'https://github.com/grpc/grpc/pull/33667'
  - url: 'https://github.com/grpc/grpc/pull/33669'
  - url: 'https://github.com/grpc/grpc/pull/33670'
  - url: 'https://github.com/grpc/grpc/pull/33672'
  - url: >-
      https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-4785.yml
  - url: 'https://groups.google.com/g/grpc-io/c/LlLkB1CeE4U'
  - url: 'https://rubygems.org/gems/grpc/versions/1.53.2'
  - url: 'https://rubygems.org/gems/grpc/versions/1.54.3'
  - url: 'https://rubygems.org/gems/grpc/versions/1.55.3'
  - url: 'https://rubygems.org/gems/grpc/versions/1.56.2'
tags:
  - osv
  - rubygems
epss: 0.00773
epssPercentile: 0.54263
ingestedAt: '2026-07-08T18:25:51.480Z'
---

## Overview

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. 

## Affected packages

- `grpc >= 1.56.0, < 1.56.2`
- `grpc >= 1.55.0, < 1.55.3`
- `grpc >= 1.54.0, < 1.54.3`
- `grpc >= 1.53.0, < 1.53.2`
- `grpcio >= 1.55.0, < 1.55.3`
- `grpcio >= 1.54.0, < 1.54.3`
- `grpcio >= 1.53.0, < 1.53.2`

## Remediation

Upgrade to a patched release:

- `grpc 1.56.2`
- `grpc 1.55.3`
- `grpc 1.54.3`
- `grpc 1.53.2`
- `grpcio 1.55.3`
- `grpcio 1.54.3`
- `grpcio 1.53.2`
