CVE-2023-33953 in Grpc and 1 more product
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…
Affects 2 products from 2 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Grpc | Grpc | < 1.53.2 ≥ 1.54.0, < 1.54.3 ≥ 1.55.0, < 1.55.2 ≥ 1.56.0, < 1.56.2 |
| Siemens | SIMATIC Rtls Locating Manager | < 3.0.1.1 |
| Phoenixcontact | Axc F 1152 Firmware | < 2024.0.6 |
| Phoenixcontact | Axc F 2152 Firmware | < 2024.0.6 |
| Phoenixcontact | Axc F 3152 Firmware | < 2024.0.6 |
| Phoenixcontact | Bpc 9102S Firmware | < 2024.0.6 |
| Phoenixcontact | Epc 1502 Firmware | < 2024.0.3 |
| Phoenixcontact | Epc 1522 Firmware | < 2024.0.3 |
| Phoenixcontact | Rfc 4072R Firmware | < 2024.0.6 |
| Phoenixcontact | Rfc 4072S Firmware | < 2024.0.6 |
Fix and vendor advisory
- Update to V3.0.1.1 or later version The update is available from Siemens Online Software Delivery (OSD).
Source: ICSA-24-137-07
- Update to the latest 2024.0.6 LTS Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
Source: VDE-2024-073
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-33953 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-003661-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-08-09 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement rate limiting and input validation on gRPC endpoints to prevent excessive resource consumption.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.