@grpc/grpc-js
Affected
- introduced
1.10.0, fixed1.10.9(semver)
Fixed versions
1.10.9
Fix
- Fixed version
1.10.9npm install @grpc/[email protected]
Advisory
Also known as: CVE-2024-37168
@grpc/grpc-js can allocate memory for incoming messages well above configured limits
Impact
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:
Patches
This has been patched in versions 1.10.9, 1.9.15, and 1.8.22
Medium Basis: The source's own band: MODERATE
1.10.0, fixed 1.10.9 (semver)1.10.9
1.10.9npm install @grpc/[email protected]1.9.0, fixed 1.9.15 (semver)1.9.15
1.9.15npm install @grpc/[email protected]0, fixed 1.8.22 (semver)1.8.22
1.8.22npm install @grpc/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0