Uncontrolled memory allocation in grpc/grpc-js



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-37168
CWE-ID CWE-789
Exploitation vector Network
Public exploit N/A
Vulnerable software
grpc-node
Other software / Other software solutions

Vendor grpc

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Uncontrolled Memory Allocation

EUVDB-ID: #VU98421

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 - Uncontrolled Memory Allocation

Exploit availability: No

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 update from vendor's website.

Vulnerable software versions

grpc-node: before 1.8.22

CPE2.3 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.



###SIDEBAR###