grpc — security advisory
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.
- Products
- grpc
- Affected versions
- 0.10.2-1, 0.11.1-1, 1.16.1-1, 1.16.1-1ubuntu1, 1.16.1-1ubuntu3, 1.16.1-1ubuntu4, 1.16.1-1ubuntu5, 1.3.2-1, 1.3.2-1.1~build1, 1.3.2-1ubuntu1, 1.30.2-3, 1.30.2-3build1, 1.30.2-3build3, 1.30.2-3build5, 1.30.2-3build6, 1.51.1-10ubuntu1, 1.51.1-3build3, 1.51.1-3build4, 1.51.1-4, 1.51.1-4.1build3, 1.51.1-4.1build4, 1.51.1-4.1build5, 1.51.1-4build1, 1.51.1-4build2, 1.51.1-6, 1.51.1-6build1, 1.51.1-7, 1.51.1-7ubuntu2, 1.51.1-7ubuntu3, 1.51.1-8ubuntu1, 1.51.1-9, 1.51.1-9ubuntu3
- Fixed versions
- Not specified
- CVEs
- CVE-2023-4785
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:11 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2023-4785
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
grpc
Fixed versions: Not specified
Complete source record
{
"id": "f3254cd3d67430ea199e4d40e87841f00d2738cfbe0569e94fd0465bcd12db65",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-4785",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-4785",
"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.",
"evidence": "osv:UBUNTU-CVE-2023-4785",
"products": [
{
"name": {
"value": "grpc",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.10.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.11.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.3.2-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "1.3.2-1.1~build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.16.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.16.1-1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "1.16.1-1ubuntu3",
"evidence": "/affected/2/versions"
},
{
"value": "1.16.1-1ubuntu4",
"evidence": "/affected/2/versions"
},
{
"value": "1.16.1-1ubuntu5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.30.2-3",
"evidence": "/affected/3/versions"
},
{
"value": "1.30.2-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.30.2-3build3",
"evidence": "/affected/3/versions"
},
{
"value": "1.30.2-3build5",
"evidence": "/affected/3/versions"
},
{
"value": "1.30.2-3build6",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.51.1-3build3",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-3build4",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4build2",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4.1build3",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4.1build4",
"evidence": "/affected/4/versions"
},
{
"value": "1.51.1-4.1build5",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.51.1-6",
"evidence": "/affected/5/versions"
},
{
"value": "1.51.1-6build1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.51.1-8ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "1.51.1-9",
"evidence": "/affected/6/versions"
},
{
"value": "1.51.1-9ubuntu3",
"evidence": "/affected/6/versions"
},
{
"value": "1.51.1-10ubuntu1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "grpc",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.51.1-6build1",
"evidence": "/affected/7/versions"
},
{
"value": "1.51.1-7",
"evidence": "/affected/7/versions"
},
{
"value": "1.51.1-7ubuntu2",
"evidence": "/affected/7/versions"
},
{
"value": "1.51.1-7ubuntu3",
"evidence": "/affected/7/versions"
},
{
"value": "1.51.1-8ubuntu1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-4785",
"aliases": [
"UBUNTU-CVE-2023-4785"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.10.2-1",
"0.11.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc0",
"binary_version": "0.11.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.3.2-1",
"1.3.2-1ubuntu1",
"1.3.2-1.1~build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1",
"binary_version": "1.3.2-1.1~build1"
},
{
"binary_name": "libgrpc3",
"binary_version": "1.3.2-1.1~build1"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.3.2-1.1~build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.16.1-1",
"1.16.1-1ubuntu1",
"1.16.1-1ubuntu3",
"1.16.1-1ubuntu4",
"1.16.1-1ubuntu5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1",
"binary_version": "1.16.1-1ubuntu5"
},
{
"binary_name": "libgrpc6",
"binary_version": "1.16.1-1ubuntu5"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.16.1-1ubuntu5"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.16.1-1ubuntu5"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.16.1-1ubuntu5"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.16.1-1ubuntu5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.30.2-3",
"1.30.2-3build1",
"1.30.2-3build3",
"1.30.2-3build5",
"1.30.2-3build6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1",
"binary_version": "1.30.2-3build6"
},
{
"binary_name": "libgrpc10",
"binary_version": "1.30.2-3build6"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.30.2-3build6"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.30.2-3build6"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.30.2-3build6"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.30.2-3build6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.51.1-3build3",
"1.51.1-3build4",
"1.51.1-4",
"1.51.1-4build1",
"1.51.1-4build2",
"1.51.1-4.1build3",
"1.51.1-4.1build4",
"1.51.1-4.1build5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1.51t64",
"binary_version": "1.51.1-4.1build5"
},
{
"binary_name": "libgrpc29t64",
"binary_version": "1.51.1-4.1build5"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.51.1-4.1build5"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.51.1-4.1build5"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.51.1-4.1build5"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.51.1-4.1build5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.51.1-6",
"1.51.1-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1.51t64",
"binary_version": "1.51.1-6build1"
},
{
"binary_name": "libgrpc29t64",
"binary_version": "1.51.1-6build1"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.51.1-6build1"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.51.1-6build1"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.51.1-6build1"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.51.1-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.51.1-8ubuntu1",
"1.51.1-9",
"1.51.1-9ubuntu3",
"1.51.1-10ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1.51t64",
"binary_version": "1.51.1-10ubuntu1"
},
{
"binary_name": "libgrpc29t64",
"binary_version": "1.51.1-10ubuntu1"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.51.1-10ubuntu1"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.51.1-10ubuntu1"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.51.1-10ubuntu1"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.51.1-10ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "grpc",
"purl": "pkg:deb/ubuntu/grpc?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.51.1-6build1",
"1.51.1-7",
"1.51.1-7ubuntu2",
"1.51.1-7ubuntu3",
"1.51.1-8ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgrpc++1.51t64",
"binary_version": "1.51.1-8ubuntu1"
},
{
"binary_name": "libgrpc29t64",
"binary_version": "1.51.1-8ubuntu1"
},
{
"binary_name": "protobuf-compiler-grpc",
"binary_version": "1.51.1-8ubuntu1"
},
{
"binary_name": "python3-grpcio",
"binary_version": "1.51.1-8ubuntu1"
},
{
"binary_name": "ruby-grpc",
"binary_version": "1.51.1-8ubuntu1"
},
{
"binary_name": "ruby-grpc-tools",
"binary_version": "1.51.1-8ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:56:42.345978664Z",
"provider": "osv",
"upstream": [
"CVE-2023-4785"
],
"references": [
"https://ubuntu.com/security/CVE-2023-4785",
"https://github.com/grpc/grpc/pull/33656",
"https://github.com/grpc/grpc/pull/33667",
"https://github.com/grpc/grpc/pull/33669",
"https://github.com/grpc/grpc/pull/33670",
"https://github.com/grpc/grpc/pull/33672",
"https://www.cve.org/CVERecord?id=CVE-2023-4785"
]
},
"related_cves": [
{
"value": "CVE-2023-4785",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355997,
"published_at": "2023-09-13T17:15:00+00:00"
}