{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-37168","id":"CVE-2024-37168","title":"@grpc/grpc-js can allocate memory for incoming messages well above configured limits","description":"@grpc/grps-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to versions 1.10.9, 1.9.15, and 1.8.22, 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: If an incoming message has a size on the wire greater than the configured limit, the entire message is buffer","descriptionLong":"@grpc/grps-js implements the core functionality of gRPC purely in JavaScript, without a C++ addon. Prior to versions 1.10.9, 1.9.15, and 1.8.22, 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: If an incoming message has a size on the wire greater than the configured limit, the entire message is buffered before it is discarded; and/or 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 on the server is not discarded. This has been patched in versions 1.10.9, 1.9.15, and 1.8.22.\n","published":"2024-06-10T21:32:06.403Z","updated":"2026-10-28T02:30:31.270773869Z","reserved":"2024-06-03T17:29:38.330Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["grpc-node"],"affectedProducts":[{"vendor":"grpc","product":"grpc-node","defaultStatus":null,"versions":[{"version":">= 1.10.0, < 1.10.9","status":"affected"},{"version":">= 1.9.0, < 1.9.15","status":"affected"},{"version":"< 1.8.22","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@grpc/grpc-js","purl":"pkg:npm/%40grpc/grpc-js","ranges":[">=1.10.0 <1.10.9",">=1.9.0 <1.9.15","<1.8.22"],"fixed":["1.10.9","1.9.15","1.8.22"],"advisory":"GHSA-7v5v-9h63-cj86"}],"cwes":["CWE-789"],"aliases":["GHSA-7v5v-9h63-cj86"],"references":[{"url":"https://github.com/grpc/grpc-node/security/advisories/GHSA-7v5v-9h63-cj86","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/grpc/grpc-node/commit/08b0422dae56467ecae1007e899efe66a8c4a650","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/grpc/grpc-node/commit/674f4e351a619fd4532f84ae6dff96b8ee4e1ed3","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/grpc/grpc-node/commit/a8a020339c7eab1347a343a512ad17a4aea4bfdb","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37168.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37168","tags":["advisory"]},{"url":"https://github.com/grpc/grpc-node","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00672,"epssPercentile":0.52854,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-37168","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37168","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-37168","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7v5v-9h63-cj86","ok":true,"note":"GHSA-7v5v-9h63-cj86"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37168","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}