p PatchFirst

CVE-2023-33953

CVE-2023-33953 · Denial-of-Service in gRPC

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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…

CVSS 7.5 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • grpc

    Versions
    • ≥ 0, < 1.56.1: Affected (custom)

    Update to 1.56.1

  • grpc Debian:12

    Versions
    • 1.51.1-10
    • 1.51.1-3
    • 1.51.1-4
    • 1.51.1-4.1
    • 1.51.1-4.1~exp1
    • 1.51.1-5
    • 1.51.1-6
    • 1.51.1-7
    • 1.51.1-8
    • 1.51.1-9
    • 1.59.5-1
    • 1.82.0-1
    • 1.83.0-1
    • 1.83.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Debian:13

    Versions
    • 1.51.1-10
    • 1.51.1-6
    • 1.51.1-7
    • 1.51.1-8
    • 1.51.1-9
    • 1.59.5-1
    • 1.82.0-1
    • 1.83.0-1
    • 1.83.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Debian:14

    Versions
    • 1.51.1-10
    • 1.51.1-6
    • 1.51.1-7
    • 1.51.1-8
    • 1.51.1-9
    • 1.59.5-1
    • 1.82.0-1
    • 1.83.0-1
    • 1.83.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpcio PyPI

    Versions
    • 0.10.0a0
    • 0.11.0b0
    • 0.11.0b1
    • 0.12.0b0
    • 0.12.0b8
    • 0.13.0
    • 0.13.1
    • 0.13.1rc1
    • 0.14.0
    • 0.14.0rc1
    • 0.15.0
    • 0.3.0
    • 0.4.0
    • 0.4.0a0
    • 0.4.0a1
    • 0.4.0a13
    • 0.4.0a14
    • 0.4.0a2
    • 0.4.0a3
    • 0.4.0a4
    • 0.4.0a5
    • 0.4.0a6
    • 0.4.0a7
    • 0.4.0a8
    • 0.5.0a0
    • 0.5.0a1
    • 0.5.0a2
    • 0.9.0a0
    • 0.9.0a1
    • 1.0.0
    • 1.0.0rc1
    • 1.0.0rc2
    • 1.0.1
    • 1.0.1rc1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.1.0
    • 1.1.3
    • 1.10.0
    • 1.10.0rc2
    • 1.10.1
    • 1.10.1rc1
    • 1.10.1rc2
    • 1.11.0
    • 1.11.0rc1
    • 1.11.0rc2
    • 1.11.1
    • 1.11.1rc1
    • 1.12.0
    • 1.12.0rc1
    • 1.12.1
    • 1.13.0
    • 1.13.0rc1
    • 1.13.0rc2
    • 1.13.0rc3
    • 1.14.0
    • 1.14.0rc1
    • 1.14.0rc2
    • 1.14.1
    • 1.14.2
    • 1.14.2rc1
    • 1.15.0
    • 1.15.0rc1
    • 1.16.0
    • 1.16.0rc1
    • 1.16.1
    • 1.17.0
    • 1.17.1
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.2.1
    • 1.20.0
    • 1.20.0rc1
    • 1.20.0rc2
    • 1.20.0rc3
    • 1.20.1
    • 1.21.0rc1
    • 1.21.1
    • 1.21.1rc1
    • 1.22.0
    • 1.22.0rc1
    • 1.22.1
    • 1.23.0
    • 1.23.0rc1
    • 1.23.1
    • 1.24.0
    • 1.24.0rc1
    • 1.24.1
    • 1.24.3
    • 1.25.0
    • 1.25.0rc1
    • 1.26.0
    • 1.26.0rc1
    • 1.27.0rc1
    • 1.27.0rc2
    • 1.27.1
    • 1.27.2
    • 1.28.0rc1
    • 1.28.0rc2
    • 1.28.1
    • 1.29.0
    • 1.3.0
    • 1.3.3
    • 1.3.5
    • 1.30.0
    • 1.31.0
    • 1.32.0
    • 1.33.1
    • 1.33.2
    • 1.34.0
    • 1.34.0rc1
    • 1.34.1
    • 1.35.0
    • 1.35.0rc1
    • 1.36.0
    • 1.36.0rc1
    • 1.36.1
    • 1.37.0
    • 1.37.0rc1
    • 1.37.1
    • 1.38.0
    • 1.38.0rc1
    • 1.38.1
    • 1.39.0
    • 1.39.0rc1
    • 1.4.0
    • 1.40.0
    • 1.40.0rc1
    • 1.41.0
    • 1.41.0rc2
    • 1.41.1
    • 1.42.0
    • 1.42.0rc1
    • 1.43.0
    • 1.43.0rc1
    • 1.44.0
    • 1.44.0rc1
    • 1.44.0rc2
    • 1.45.0
    • 1.45.0rc1
    • 1.46.0
    • 1.46.0rc1
    • 1.46.0rc2
    • 1.46.1
    • 1.46.3
    • 1.46.5
    • 1.47.0
    • 1.47.0rc1
    • 1.47.2
    • 1.47.5
    • 1.48.0
    • 1.48.0rc1
    • 1.48.1
    • 1.48.2
    • 1.49.0
    • 1.49.0rc1
    • 1.49.0rc3
    • 1.49.1
    • 1.50.0
    • 1.50.0rc1
    • 1.51.0
    • 1.51.0rc1
    • 1.51.1
    • 1.51.3
    • 1.52.0
    • 1.52.0rc1
    • 1.53.0
    • 1.53.0rc2
    • 1.53.1
    • 1.6.0
    • 1.6.3
    • 1.7.0
    • 1.7.3
    • 1.8.1
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.6
    • 1.9.0
    • 1.9.0rc1
    • 1.9.0rc2
    • 1.9.0rc3
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: < 1.53.2

    Update to 1.53.2

  • grpcio PyPI

    Versions
    • 1.54.0
    • 1.54.2
    Affected ranges
    • ECOSYSTEM: ≥ 1.54.0, < 1.54.3

    Update to 1.54.3

  • grpcio PyPI

    Versions
    • 1.55.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.55.0, < 1.55.2

    Update to 1.55.2

  • grpcio PyPI

    Versions
    • 1.56.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.56.0, < 1.56.2

    Update to 1.56.2

  • grpc RubyGems

    Versions
    • 0.10.0
    • 0.11.0
    • 0.12.0
    • 0.13.0
    • 0.13.0.pre1.1
    • 0.13.1
    • 0.13.1.pre1
    • 0.14.1
    • 0.14.1.pre1
    • 0.15.0
    • 0.5.0
    • 0.6.0
    • 0.6.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 1.0.0
    • 1.0.0.pre1
    • 1.0.0.pre2
    • 1.0.1
    • 1.0.1.pre1
    • 1.1.2
    • 1.10.0
    • 1.10.0.pre1
    • 1.10.0.pre2
    • 1.11.0
    • 1.11.0.pre2
    • 1.11.1
    • 1.12.0
    • 1.13.0
    • 1.13.0.pre1
    • 1.13.0.pre3
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.14.2.pre1
    • 1.15.0
    • 1.15.0.pre1
    • 1.16.0
    • 1.16.0.pre1
    • 1.17.0
    • 1.17.0.pre1
    • 1.17.1
    • 1.18.0
    • 1.18.0.pre1
    • 1.19.0
    • 1.19.0.pre1
    • 1.2.0
    • 1.2.0.pre1
    • 1.2.1.pre1
    • 1.2.1.pre2
    • 1.2.2
    • 1.2.5
    • 1.20.0
    • 1.20.0.pre1
    • 1.21.0
    • 1.22.0
    • 1.22.0.pre1
    • 1.22.1
    • 1.23.0
    • 1.23.0.pre1
    • 1.23.1
    • 1.24.0
    • 1.24.0.pre1
    • 1.25.0
    • 1.25.0.pre1
    • 1.26.0
    • 1.26.0.pre1
    • 1.27.0
    • 1.27.0.pre1
    • 1.28.0
    • 1.28.0.pre1
    • 1.28.0.pre2
    • 1.3.4
    • 1.30.0
    • 1.30.0.pre1
    • 1.30.1
    • 1.30.2
    • 1.31.0.pre1
    • 1.31.0.pre2
    • 1.31.1
    • 1.32.0
    • 1.32.0.pre1
    • 1.33.0.pre1
    • 1.34.0
    • 1.35.0
    • 1.35.0.pre1
    • 1.36.0
    • 1.37.0
    • 1.37.0.pre1
    • 1.37.1
    • 1.38.0
    • 1.38.0.pre1
    • 1.39.0
    • 1.39.0.pre1
    • 1.4.0
    • 1.4.1
    • 1.4.5
    • 1.40.0
    • 1.40.0.pre1
    • 1.41.0
    • 1.41.0.pre2
    • 1.41.1
    • 1.42.0
    • 1.42.0.pre1
    • 1.43.1
    • 1.44.0.pre2
    • 1.45.0
    • 1.46.2
    • 1.46.3
    • 1.47.0
    • 1.48.0
    • 1.48.0.pre1
    • 1.49.0.pre1
    • 1.49.1
    • 1.50.0
    • 1.50.0.pre1
    • 1.51.0
    • 1.52.0
    • 1.52.0.pre2
    • 1.52.2
    • 1.53.0
    • 1.53.0.pre2
    • 1.53.1
    • 1.6.0
    • 1.6.0.pre1
    • 1.6.2
    • 1.6.4
    • 1.6.6
    • 1.6.7
    • 1.7.0
    • 1.7.0.pre1
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.8.0
    • 1.8.3
    • 1.8.6
    • 1.8.7
    • 1.9.0.pre1
    • 1.9.0.pre2
    • 1.9.0.pre3
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: < 1.53.2

    Update to 1.53.2

  • grpc RubyGems

    Versions
    • 1.54.0
    • 1.54.2
    Affected ranges
    • ECOSYSTEM: ≥ 1.54.0, < 1.54.3

    Update to 1.54.3

  • grpc RubyGems

    Versions
    • 1.55.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.55.0, < 1.55.2

    Update to 1.55.2

  • grpc RubyGems

    Versions
    • 1.56.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.56.0, < 1.56.2

    Update to 1.56.2

  • grpcio PyPI

    Versions
    • 0.10.0a0
    • 0.11.0b0
    • 0.11.0b1
    • 0.12.0b0
    • 0.12.0b8
    • 0.13.0
    • 0.13.1
    • 0.13.1rc1
    • 0.14.0
    • 0.14.0rc1
    • 0.15.0
    • 0.3.0
    • 0.4.0
    • 0.4.0a0
    • 0.4.0a1
    • 0.4.0a13
    • 0.4.0a14
    • 0.4.0a2
    • 0.4.0a3
    • 0.4.0a4
    • 0.4.0a5
    • 0.4.0a6
    • 0.4.0a7
    • 0.4.0a8
    • 0.5.0a0
    • 0.5.0a1
    • 0.5.0a2
    • 0.9.0a0
    • 0.9.0a1
    • 1.0.0
    • 1.0.0rc1
    • 1.0.0rc2
    • 1.0.1
    • 1.0.1rc1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.1.0
    • 1.1.3
    • 1.10.0
    • 1.10.0rc2
    • 1.10.1
    • 1.10.1rc1
    • 1.10.1rc2
    • 1.11.0
    • 1.11.0rc1
    • 1.11.0rc2
    • 1.11.1
    • 1.11.1rc1
    • 1.12.0
    • 1.12.0rc1
    • 1.12.1
    • 1.13.0
    • 1.13.0rc1
    • 1.13.0rc2
    • 1.13.0rc3
    • 1.14.0
    • 1.14.0rc1
    • 1.14.0rc2
    • 1.14.1
    • 1.14.2
    • 1.14.2rc1
    • 1.15.0
    • 1.15.0rc1
    • 1.16.0
    • 1.16.0rc1
    • 1.16.1
    • 1.17.0
    • 1.17.1
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.2.1
    • 1.20.0
    • 1.20.0rc1
    • 1.20.0rc2
    • 1.20.0rc3
    • 1.20.1
    • 1.21.0rc1
    • 1.21.1
    • 1.21.1rc1
    • 1.22.0
    • 1.22.0rc1
    • 1.22.1
    • 1.23.0
    • 1.23.0rc1
    • 1.23.1
    • 1.24.0
    • 1.24.0rc1
    • 1.24.1
    • 1.24.3
    • 1.25.0
    • 1.25.0rc1
    • 1.26.0
    • 1.26.0rc1
    • 1.27.0rc1
    • 1.27.0rc2
    • 1.27.1
    • 1.27.2
    • 1.28.0rc1
    • 1.28.0rc2
    • 1.28.1
    • 1.29.0
    • 1.3.0
    • 1.3.3
    • 1.3.5
    • 1.30.0
    • 1.31.0
    • 1.32.0
    • 1.33.1
    • 1.33.2
    • 1.34.0
    • 1.34.0rc1
    • 1.34.1
    • 1.35.0
    • 1.35.0rc1
    • 1.36.0
    • 1.36.0rc1
    • 1.36.1
    • 1.37.0
    • 1.37.0rc1
    • 1.37.1
    • 1.38.0
    • 1.38.0rc1
    • 1.38.1
    • 1.39.0
    • 1.39.0rc1
    • 1.4.0
    • 1.40.0
    • 1.40.0rc1
    • 1.41.0
    • 1.41.0rc2
    • 1.41.1
    • 1.42.0
    • 1.42.0rc1
    • 1.43.0
    • 1.43.0rc1
    • 1.44.0
    • 1.44.0rc1
    • 1.44.0rc2
    • 1.45.0
    • 1.45.0rc1
    • 1.46.0
    • 1.46.0rc1
    • 1.46.0rc2
    • 1.46.1
    • 1.46.3
    • 1.46.5
    • 1.47.0
    • 1.47.0rc1
    • 1.47.2
    • 1.47.5
    • 1.48.0
    • 1.48.0rc1
    • 1.48.1
    • 1.48.2
    • 1.49.0
    • 1.49.0rc1
    • 1.49.0rc3
    • 1.49.1
    • 1.50.0
    • 1.50.0rc1
    • 1.51.0
    • 1.51.0rc1
    • 1.51.1
    • 1.51.3
    • 1.52.0
    • 1.52.0rc1
    • 1.53.0
    • 1.53.0rc2
    • 1.53.1
    • 1.54.0
    • 1.54.2
    • 1.55.0
    • 1.56.0
    • 1.6.0
    • 1.6.3
    • 1.7.0
    • 1.7.3
    • 1.8.1
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.6
    • 1.9.0
    • 1.9.0rc1
    • 1.9.0rc2
    • 1.9.0rc3
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: < 1.53.2 ∪ ≥ 1.54.0, < 1.54.3 ∪ ≥ 1.55.0, < 1.55.2 ∪ ≥ 1.56.0, < 1.56.2

    Update to 1.53.2; Update to 1.54.3; Update to 1.55.2; Update to 1.56.2

  • grpc Ubuntu:16.04:LTS

    Versions
    • 0.10.2-1
    • 0.11.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:18.04:LTS

    Versions
    • 1.3.2-1
    • 1.3.2-1ubuntu1
    • 1.3.2-1.1~build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:20.04:LTS

    Versions
    • 1.16.1-1
    • 1.16.1-1ubuntu1
    • 1.16.1-1ubuntu3
    • 1.16.1-1ubuntu4
    • 1.16.1-1ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:22.04:LTS

    Versions
    • 1.30.2-3
    • 1.30.2-3build1
    • 1.30.2-3build3
    • 1.30.2-3build5
    • 1.30.2-3build6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:24.04:LTS

    Versions
    • 1.51.1-3build3
    • 1.51.1-3build4
    • 1.51.1-4
    • 1.51.1-4build1
    • 1.51.1-4build2
    • 1.51.1-4.1build3
    • 1.51.1-4.1build4
    • 1.51.1-4.1build5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:25.10

    Versions
    • 1.51.1-6
    • 1.51.1-6build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:26.10

    Versions
    • 1.51.1-8ubuntu1
    • 1.51.1-9
    • 1.51.1-9ubuntu3
    • 1.51.1-10ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • grpc Ubuntu:26.04:LTS

    Versions
    • 1.51.1-6build1
    • 1.51.1-7
    • 1.51.1-7ubuntu2
    • 1.51.1-7ubuntu3
    • 1.51.1-8ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →