CVEfocus › CVE database › CVE-2023-33953

CVE-2023-33953Denial-of-Service in gRPC

CVSS 7.5 HighEPSS 0.5% (higher than 33% of CVEs)Published 2023-08-09Updated 2024-09-27Assigner: Google

gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks: - Unbounded memory buffering in the HPACK parser - Unbounded CPU consumption in the HPACK parser The unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client. The unbounded memory buffering bugs: - The header size limit check was behind the string reading code, so we needed to first buffer up to a 4 gigabyte string before rejecting it as longer than 8 or 16kb. - HPACK varints have an encoding quirk whereby an infinite number of 0’s can be added at the start of an integer. gRPC’s hpack parser needed to read all of them before concluding a parse. - gRPC’s metadata overflow check was performed per frame, so that the following sequence of frames could cause infinite buffering: HEADERS: containing a: 1 CONTINUATION: containing a: 2 CONTINUATION: containing a: 3 etc…

CWE-789CWE-834

What to do

Fixed builds are available from PyPI, Red Hat, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
2Under investigation
4Will not fix
59Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10grpcFix pendingUBUNTU-CVE-2023-33953
Ubuntu 26.04grpcFix pendingUBUNTU-CVE-2023-33953
Ubuntu 25.10grpcWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-33953
Ubuntu 24.04grpcUnder investigationUBUNTU-CVE-2023-33953
Ubuntu 22.04grpcUnder investigationUBUNTU-CVE-2023-33953
Ubuntu 20.04grpcWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-33953
Ubuntu 18.04grpcWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-33953
Ubuntu 16.04grpcWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-33953
Debian 14grpcFix pendingDEBIAN-CVE-2023-33953
Debian 13grpcFix pendingDEBIAN-CVE-2023-33953
Debian 12grpcFix pendingDEBIAN-CVE-2023-33953
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10ignitionNot affected
Red Hat Enterprise Linux 10ignition-edgeNot affected
Red Hat Enterprise Linux 10ignition-grubNot affected
Red Hat Enterprise Linux 10ignition-validateNot affected
Red Hat Enterprise Linux 10osbuild-composerNot affected
Red Hat Enterprise Linux 10osbuild-composer-coreNot affected
Red Hat Enterprise Linux 10osbuild-composer-workerNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 10skopeoNot affected
Red Hat Enterprise Linux 10skopeo-testsNot affected
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9ignitionNot affected
Red Hat Enterprise Linux 9ignition-edgeNot affected
Red Hat Enterprise Linux 9ignition-grubNot affected
Red Hat Enterprise Linux 9ignition-validateNot affected
Red Hat Enterprise Linux 9opentelemetry-collectorNot affected
Red Hat Enterprise Linux 9osbuild-composerNot affected
Red Hat Enterprise Linux 9osbuild-composer-coreNot affected
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 9osbuild-composer-workerNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 9rhc-worker-playbookFixed0:0.1.10-1.el9_5RHSA-2024:10761
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8osbuild-composerNot affected
Red Hat Enterprise Linux 8osbuild-composer-coreNot affected
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 8osbuild-composer-workerNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8rhc-worker-playbookNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
RubyGems librarygrpcFixed1.56.2GHSA-496j-2rq6-j6cc
PyPI librarygrpcioFixed1.56.2GHSA-496j-2rq6-j6cc

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.