Wiz Agents & Workflows are here

CVE-2024-37168
JavaScript vulnerability analysis and mitigation

Overview

@grpc/grps-js, which implements the core functionality of gRPC purely in JavaScript without a C++ addon, was found to have a vulnerability affecting versions prior to 1.10.9, 1.9.15, and 1.8.22. The vulnerability was discovered and disclosed on June 10, 2024, and involves memory allocation issues with message handling (GitHub Advisory).

Technical details

The vulnerability involves two distinct code paths where memory can be allocated per message exceeding the grpc.max_receive_message_length channel option: 1) When an incoming message has a size on the wire greater than the configured limit, the entire message is buffered before being discarded, and 2) When 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 not discarded on the server. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.3 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (GitHub Advisory).

Impact

The vulnerability can lead to excessive memory allocation on systems running the affected versions of @grpc/grps-js, potentially causing denial of service conditions through resource exhaustion. This is particularly impactful as it bypasses the intended memory usage limitations set by the grpc.max_receive_message_length parameter (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 1.10.9, 1.9.15, and 1.8.22. Users are advised to upgrade to these or later versions to mitigate the vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-3hfp-gqgh-xc5gCRITICAL9.6
  • JavaScriptJavaScript
  • @lightdash/cli
NoYesApr 02, 2026
CVE-2026-34950CRITICAL9.1
  • JavaScriptJavaScript
  • fast-jwt
NoNoApr 02, 2026
CVE-2026-34752HIGH8.7
  • JavaScriptJavaScript
  • haraka
NoYesApr 02, 2026
CVE-2026-34825HIGH8.5
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-sql
NoYesApr 02, 2026
GHSA-ccgf-5rwj-j3hvLOW2.1
  • JavaScriptJavaScript
  • telejson
NoYesApr 02, 2026

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