CVE-2023-33953Denial-of-Service in gRPC
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…
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | grpc | Fix pending | UBUNTU-CVE-2023-33953 | |
| Ubuntu 26.04 | grpc | Fix pending | UBUNTU-CVE-2023-33953 | |
| Ubuntu 25.10 | grpc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-33953 | |
| Ubuntu 24.04 | grpc | Under investigation | UBUNTU-CVE-2023-33953 | |
| Ubuntu 22.04 | grpc | Under investigation | UBUNTU-CVE-2023-33953 | |
| Ubuntu 20.04 | grpc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-33953 | |
| Ubuntu 18.04 | grpc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-33953 | |
| Ubuntu 16.04 | grpc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-33953 | |
| Debian 14 | grpc | Fix pending | DEBIAN-CVE-2023-33953 | |
| Debian 13 | grpc | Fix pending | DEBIAN-CVE-2023-33953 | |
| Debian 12 | grpc | Fix pending | DEBIAN-CVE-2023-33953 | |
| Red Hat Enterprise Linux 10 | buildah | Not affected | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | ignition | Not affected | ||
| Red Hat Enterprise Linux 10 | ignition-edge | Not affected | ||
| Red Hat Enterprise Linux 10 | ignition-grub | Not affected | ||
| Red Hat Enterprise Linux 10 | ignition-validate | Not affected | ||
| Red Hat Enterprise Linux 10 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-worker | Not affected | ||
| Red Hat Enterprise Linux 10 | podman | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 10 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 10 | skopeo | Not affected | ||
| Red Hat Enterprise Linux 10 | skopeo-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | buildah | Not affected | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | ignition | Not affected | ||
| Red Hat Enterprise Linux 9 | ignition-edge | Not affected | ||
| Red Hat Enterprise Linux 9 | ignition-grub | Not affected | ||
| Red Hat Enterprise Linux 9 | ignition-validate | Not affected | ||
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-dnf-json | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-worker | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 9 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 9 | rhc-worker-playbook | Fixed | 0:0.1.10-1.el9_5 | RHSA-2024:10761 |
| Red Hat Enterprise Linux 9 | skopeo | Not affected | ||
| Red Hat Enterprise Linux 9 | skopeo-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | buildah | Not affected | ||
| Red Hat Enterprise Linux 8 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | containers-common | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-dnf-json | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-worker | Not affected | ||
| Red Hat Enterprise Linux 8 | podman | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | rhc-worker-playbook | Not affected | ||
| Red Hat Enterprise Linux 8 | skopeo | Not affected | ||
| Red Hat Enterprise Linux 8 | skopeo-tests | Not affected | ||
| RubyGems library | grpc | Fixed | 1.56.2 | GHSA-496j-2rq6-j6cc |
| PyPI library | grpcio | Fixed | 1.56.2 | GHSA-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.
- Google gRPC: affected: before 1.56.1; fixed in
1.56.1
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.