# CVE-2024-37168: @grpc/grpc-js can allocate memory for incoming messages well above configured limits

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-10 · Modified: 2024-08-02
- Aliases: CGA-5rh6-27r6-36fj, CGA-643v-2866-jpj5, CGA-fhhr-wwhg-3f3x, CGA-hchv-7xj9-r4rv, CGA-w57x-99pq-hh65, GHSA-7v5v-9h63-cj86
- Record: https://cvemate.com/vulnerability/CVE-2024-37168 · JSON: https://cvemate.com/vulnerability/CVE-2024-37168/json

## Description

```text
@grpc/grps-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to versions 1.10.9, 1.9.15, and 1.8.22, there are two separate code paths in which memory can be allocated per message in excess of the `grpc.max_receive_message_length` channel option: If an incoming message has a size on the wire greater than the configured limit, the entire message is buffered before it is discarded; and/or if an incoming message has a size within the limit on the wire but decompresses to a size greater than the limit, the entire message is decompressed into memory, and on the server is not discarded. This has been patched in versions 1.10.9, 1.9.15, and 1.8.22.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.677%, percentile 53.693%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard jitsucom-jitsu (Chainguard): \< 2.7.0-r1
- chainguard jitsucom-jitsu-console (Chainguard): \< 2.7.0-r1
- chainguard jitsucom-jitsu-rotor (Chainguard): \< 2.7.0-r1
- chainguard kubeflow-centraldashboard (Chainguard): \< 1.8.0-r5
- wolfi jitsucom-jitsu (Wolfi): \< 2.7.0-r1
- wolfi jitsucom-jitsu-console (Wolfi): \< 2.7.0-r1
- wolfi jitsucom-jitsu-rotor (Wolfi): \< 2.7.0-r1
- wolfi kubeflow-centraldashboard (Wolfi): \< 1.8.0-r5
- grpc grpc-node: ≥ 1.10.0, \< 1.10.9 \| ≥ 1.9.0, \< 1.9.15 \| \< 1.8.22
- @grpc grpc-js (Npm): ≥ 1.10.0, \< 1.10.9 \| ≥ 1.9.0, \< 1.9.15 \| \< 1.8.22

## References

- <https://github.com/grpc/grpc-node/security/advisories/GHSA-7v5v-9h63-cj86>
- <https://github.com/grpc/grpc-node/commit/08b0422dae56467ecae1007e899efe66a8c4a650>
- <https://github.com/grpc/grpc-node/commit/674f4e351a619fd4532f84ae6dff96b8ee4e1ed3>
- <https://github.com/grpc/grpc-node/commit/a8a020339c7eab1347a343a512ad17a4aea4bfdb>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37168.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37168>
- <https://github.com/grpc/grpc-node>

---

Data as of 2026-12-05T08:59:57.465Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
