Security mailing lists by PureSourceCode

CVE-2023-33953

HIGH 7.5CVSS 3.1

Excessive Iteration 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
9 Aug 2023
Last modified
7 Jul 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-770CWE-789
Also known as
GHSA-496j-2rq6-j6ccPYSEC-2026-1424
Sources
NVDJSONOSV GHSA-496j-2rq6-j6ccJSONOSV PYSEC-2026-1424JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve-coordination@google.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD grpc grpc
cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
< 1.53.2 1.53.2
NVD grpc grpc
cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
>= 1.54.0, < 1.54.3 1.54.3
NVD grpc grpc
cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
>= 1.55.0, < 1.55.2 1.55.2
NVD grpc grpc
cpe:2.3:a:grpc:grpc:*:*:*:*:*:-:*:*
>= 1.56.0, < 1.56.2 1.56.2
OSV PyPI grpcio < 1.53.2 1.53.2
OSV PyPI grpcio >= 1.54.0, < 1.54.3 1.54.3
OSV PyPI grpcio >= 1.55.0, < 1.55.2 1.55.2
OSV PyPI grpcio >= 1.56.0, < 1.56.2 1.56.2
OSV RubyGems grpc < 1.53.2 1.53.2
OSV RubyGems grpc >= 1.54.0, < 1.54.3 1.54.3
OSV RubyGems grpc >= 1.55.0, < 1.55.2 1.55.2
OSV RubyGems grpc >= 1.56.0, < 1.56.2 1.56.2
OSV PyPI grpcio < 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

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 9 Aug 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.