cve.bz

CVE-2023-33953 grpc grpc: Excessive Iteration

7.5 highEPSS 0.5%Fix available

High (7.5) in grpc grpc. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in grpcio 1.53.2, 1.54.3, 1.55.2.

On this page
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…

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-770 Allocation of Resources Without Limits or Throttling
CWE-834 Excessive Iteration
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-33953 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-33953?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-33953?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-33953 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Google gRPCbefore 1.56.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-496j-2rq6-j6ccPyPIgrpcio<1.53.21.53.2
GHSA-496j-2rq6-j6ccPyPIgrpcio>=1.54.0 <1.54.31.54.3
GHSA-496j-2rq6-j6ccPyPIgrpcio>=1.55.0 <1.55.21.55.2
GHSA-496j-2rq6-j6ccPyPIgrpcio>=1.56.0 <1.56.21.56.2
GHSA-496j-2rq6-j6ccRubyGemsgrpc<1.53.21.53.2
GHSA-496j-2rq6-j6ccRubyGemsgrpc>=1.54.0 <1.54.31.54.3
GHSA-496j-2rq6-j6ccRubyGemsgrpc>=1.55.0 <1.55.21.55.2
GHSA-496j-2rq6-j6ccRubyGemsgrpc>=1.56.0 <1.56.21.56.2
PYSEC-2026-1424PyPIgrpcio<1.53.2
>=1.54.0 <1.54.3
>=1.55.0 <1.55.2
>=1.56.0 <1.56.2
1.53.2, 1.54.3, 1.55.2, 1.56.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14grpcno fix listedDEBIAN-CVE-2023-33953
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moregrpcno fix listedUBUNTU-CVE-2023-33953
Red Hatenterprise_linux:9::appstreamrhc-worker-playbook, rhc-worker-playbook-debuginfo0:0.1.10-1.el9_5RHSA-2024:10761
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 12 moregrpc1.25.0-150200.3.10.1SUSE-SU-2026:0840-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Installer Updates 15 SP4 and 13 moreprotobuf25.1-150400.9.3.1SUSE-SU-2024:0573-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Installer Updates 15 SP4 and 10 moreabseil-cpp20230802.1-150400.10.4.1SUSE-SU-2024:0573-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Basesystem 15 SP5 and 5 moregrpc1.60.0-150400.8.3.2SUSE-SU-2024:0573-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Basesystem 15 SP5 and 4 morere220240201-150400.9.3.1SUSE-SU-2024:0573-1
SUSELinux Enterprise Module for Python 3 15 SP5python-abseil1.4.0-150400.9.3.1SUSE-SU-2024:0573-1
SUSELinux Enterprise Module for Python 3 15 SP5python-grpcio1.60.0-150400.9.3.2SUSE-SU-2024:0573-1
openSUSELeap 15.5grpc1.60.0-150400.8.3.2SUSE-SU-2024:0573-1
openSUSELeap 15.5opencensus-proto0.3.0+git.20200721-150400.9.3.1SUSE-SU-2024:0573-1
openSUSELeap 15.5python-abseil1.4.0-150400.9.3.1SUSE-SU-2024:0573-1
openSUSELeap 15.5python-grpcio1.60.0-150400.9.3.2SUSE-SU-2024:0573-1
openSUSELeap 15.5re220240201-150400.9.3.1SUSE-SU-2024:0573-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4abseil-cpp20230802.1-150400.10.4.1SUSE-SU-2024:0573-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4protobuf25.1-150400.9.3.1SUSE-SU-2024:0573-1
Azure Linux2grpcno fix listedAZL-27911
Azure Linux2python-tensorboard2.11.0-2AZL-39394
Azure Linux3grpc1.62.0-2AZL-34770
Alpaquita23grpc1.59.3-r0BELL-CVE-2023-33953
Alpaquitastreamgrpc1.56.2-r2BELL-CVE-2023-33953
BellSoft Hardened Containersstreamgrpc1.56.2-r2BELL-CVE-2023-33953

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is specific to C++ implementations of gRPC prior to the 1.57 release. The gRPC library was packaged with Openshift via the Kuryr component. However, Kuryr was never configured to run code using the gRPC library and has since been removed.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9rhc-worker-playbook-0:0.1.10-1.el9_5Fixed 2024-12-03RHSA-2024:10761
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-operator-bundleNot affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel8-operatorNot affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorNot affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel8Not affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Not affected
Builds for Red Hat OpenShiftopenshift-builds-triggers-containerNot affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-acmesolver-rhel9Not affected
356 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-33953.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-137-07Siemens SIMATIC RTLS Locating Manager2024-05-14MultipleSIMATIC RTLS Locating Manager (6GT2780-0DA00), SIMATIC RTLS Locating Manager (6GT2780-0DA10), SIMATIC RTLS Locating Manager (6GT2780-0DA20) and 4 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON