Live threats

All CVEs / grpc

CVE-2024-37168grpc-node

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Jun 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-789
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

@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.

Original NVD text.

What to do

  1. Apply the vendor's security update for grpc-node.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @grpc/grpc-js ≥ 1.10.0 < 1.10.9 1.10.9 npm install @grpc/grpc-js@1.10.9
npm @grpc/grpc-js ≥ 1.9.0 < 1.9.15 1.9.15 npm install @grpc/grpc-js@1.9.15
npm @grpc/grpc-js < 1.8.22 1.8.22 npm install @grpc/grpc-js@1.8.22

Per OSV / GitHub Advisories (GHSA-7v5v-9h63-cj86). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.