Uncontrolled Resource Consumption Affecting @grpc/grpc-js package, versions <1.8.22>=1.9.0 <1.9.15>=1.10.0 <1.10.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-GRPCGRPCJS-7242922
  • published11 Jun 2024
  • disclosed10 Jun 2024
  • creditUnknown

Introduced: 10 Jun 2024

CVE-2024-37168  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade @grpc/grpc-js to version 1.8.22, 1.9.15, 1.10.9 or higher.

Overview

@grpc/grpc-js is a gRPC Library for Node

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption via the grpc.max_receive_message_length channel option. An attacker can cause a denial of service by sending messages that exceed the configured limits, which are then buffered or decompressed into memory.

CVSS Scores

version 4.0
version 3.1