#VU98421 Uncontrolled Memory Allocation in grpc-node - CVE-2024-37168


Vulnerability identifier: #VU98421

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-37168

CWE-ID: CWE-789

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
grpc-node
Other software / Other software solutions

Vendor: grpc

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

grpc-node: before 1.8.22


External links
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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability