CVE-2023-33953 | Denial-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…

Published: 2023-08-09 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-33953 is rated Moderate Risk (40.8/100): CVSS High severity, with low exploitation likelihood (EPSS 0.12%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-33953

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.16% 0.12% -0.04%
2 2025-11-18 0.10% 0.16% +0.06%
3 2025-05-01 0.10%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-33953

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2023-33953

GitHub Security Advisory for CVE-2023-33953

OS Trackers for CVE-2023-33953

vendor priority summary link
alpine high CVE-2023-33953: 1 source package rows (grpc); 1 state rows across 1 repos (3.18-community); fixed 0, open 1. https://security.alpinelinux.org/vuln/CVE-2023-33953
debian not yet assigned CVE-2023-33953 not yet assigned priority: Debian including 1 source packages (grpc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2023-33953
redhat high https://access.redhat.com/security/cve/CVE-2023-33953
suse high CVE-2023-33953 severity important: SUSE including 19 source package names (grpc-devel-1.60.0-150400.8.3.2, grpc-devel-1.60.0-150600.13.6, …), 87 product×package rows across 34 product lines (Image SLES15-SP4-BYOS-Azure, Image SLES15-SP4-HPC-BYOS-Azure, … (34 product lines)): Fixed 87. https://www.suse.com/security/cve/CVE-2023-33953/
ubuntu medium CVE-2023-33953 medium priority: Ubuntu including 1 source packages (grpc), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 5. https://ubuntu.com/security/CVE-2023-33953

Affected software / configurations for CVE-2023-33953

Vendor Product Version Raw CPE
grpc grpc < 1.53.2 cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
grpc grpc >= 1.54.0, < 1.54.3 cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
grpc grpc >= 1.55.0, < 1.55.2 cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
grpc grpc >= 1.56.0, < 1.56.2 cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*

References for CVE-2023-33953

cvelogic Threat Intelligence