PT-2024-27352 · Unknown · @Grpc/Grpc-Js
Jhump
·
Published
2024-06-10
·
Updated
2024-06-11
·
CVE-2024-37168
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
@grpc/grps-js versions prior to 1.10.9
@grpc/grps-js versions prior to 1.9.15
@grpc/grps-js versions prior to 1.8.22
Description
The issue arises from two separate code paths where memory can be allocated per message in excess of the
grpc.max receive message length channel option. This occurs when an incoming message has a size on the wire greater than the configured limit, causing the entire message to be buffered before it is discarded. Additionally, if 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.Recommendations
For versions prior to 1.10.9, update to version 1.10.9 or later.
For versions prior to 1.9.15, update to version 1.9.15 or later.
For versions prior to 1.8.22, update to version 1.8.22 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Grpc/Grpc-Js