SB2024101148 - Uncontrolled memory allocation in grpc/grpc-js
Published: October 11, 2024
Security Bulletin ID
SB2024101148
Severity
Medium
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Denial of service
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Uncontrolled Memory Allocation (CVE-ID: CVE-2024-37168)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due 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. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
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