{"id":"UBUNTU-CVE-2023-4785","details":"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.","modified":"2026-05-20T16:13:54.140544617Z","published":"2023-09-13T17:15:00Z","upstream":["CVE-2023-4785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4785"},{"type":"REPORT","url":"https://github.com/grpc/grpc/pull/33656"},{"type":"REPORT","url":"https://github.com/grpc/grpc/pull/33667"},{"type":"REPORT","url":"https://github.com/grpc/grpc/pull/33669"},{"type":"REPORT","url":"https://github.com/grpc/grpc/pull/33670"},{"type":"REPORT","url":"https://github.com/grpc/grpc/pull/33672"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-4785"}],"affected":[{"package":{"name":"grpc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.2-1","0.11.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1-1","binary_name":"libgrpc0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-1","1.3.2-1ubuntu1","1.3.2-1.1~build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.2-1.1~build1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.1-1","1.16.1-1ubuntu1","1.16.1-1ubuntu3","1.16.1-1ubuntu4","1.16.1-1ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16.1-1ubuntu5","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.2-3","1.30.2-3build1","1.30.2-3build3","1.30.2-3build5","1.30.2-3build6"],"ecosystem_specific":{"binaries":[{"binary_version":"1.30.2-3build6","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1.51.1-4.1build5","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.51.1-6","1.51.1-6build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.51.1-6build1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}},{"package":{"name":"grpc","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/grpc?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.51.1-6build1","1.51.1-7","1.51.1-7ubuntu2","1.51.1-7ubuntu3","1.51.1-8ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.51.1-8ubuntu1","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4785.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}