SecurityContext

CVE-2023-33953: gRPC - Denial of Service

  • Cve: CVE-2023-33953
  • Name: gRPC - Denial of Service
  • Description: 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…
  • Impact: Attackers can cause service disruption by exhausting memory or CPU resources, leading to unwanted disconnects or degraded performance.
  • Remediation: Update to the latest gRPC version that addresses HPACK parser vulnerabilities or apply patches provided by the maintainers.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00479
  • Epss percentile: 0.42196
  • Assignee: [email protected]
  • Published at: 2023-08-09T13:15:09Z
  • Age in days: 1203
  • Modified at: 2026-06-17T06:02:35Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-33953
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-789Memory Allocation with Excessive Size Value
CWE-770Allocation of Resources Without Limits or Throttling

References

UrlSourceTags
https://cloud.google.com/support/bulletins#gcp-2023-022nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
grpc:grpc>= 1.56.0, < 1.56.2; >= 1.55.0, < 1.55.2; >= 1.54.0, < 1.54.3; < 1.53.2nonvd/v1/products/grpc/grpc

Projects

RepositoryLink kindsIndexedUrl
grpc/grpcproductyes/v1/repositories/grpc/grpc

Index

  • Repositories: 501
  • Repositories high signal: 319
  • Packages: 2

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts