CVE-2023-33953
Python vulnerability analysis and mitigation

Overview

gRPC contains a vulnerability that allows HPACK table accounting errors which could lead to unwanted disconnects between clients and servers. The vulnerability, identified as CVE-2023-33953, was disclosed on August 9, 2023, affecting multiple versions of gRPC including versions up to 1.53.2, 1.54.0-1.54.3, 1.55.0-1.55.2, and 1.56.0-1.56.2 (NVD).

Technical details

The vulnerability encompasses three distinct attack vectors related to HPACK parsing: unbounded memory buffering and unbounded CPU consumption. The CPU consumption issue stems from a copy operation occurring per-input-block in the parser, resulting in an O(n^2) parsing loop where n is controlled by the client. The memory buffering issues include: header size limit check occurring after string reading (allowing up to 4GB string buffering before rejection), infinite zero padding in HPACK varints requiring complete parsing, and per-frame metadata overflow checking enabling infinite buffering through sequential frames. The vulnerability has received a CVSS v3.1 Base Score of 7.5 (HIGH) (NVD).

Impact

The vulnerability can lead to denial of service conditions through two primary mechanisms: unbounded memory buffering in the HPACK parser and unbounded CPU consumption. This can result in resource exhaustion and unwanted disconnections between clients and servers in exceptional cases (NVD).

Mitigation and workarounds

Updates have been released to address this vulnerability. Users should upgrade to gRPC version 1.53.2 or later, 1.54.3 or later, 1.55.2 or later, or 1.56.2 or later, depending on their current version track (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management