Elixir Grpc
Monthly
Memory exhaustion in elixir-grpc grpc_server 1.0.0 through 1.0.x allows unauthenticated remote attackers to crash the Erlang node by opening many client-streaming or bidirectional-streaming calls and sending oversized length-prefixed messages. This is a genuine but bounded availability risk: the server asks Cowboy for up to 8,000,000 bytes per read and checks max_body_size only after the read returns, so each stream can buffer one full read beyond the limit, while releases before 1.0.6 had no streaming limit at all. The flaw requires at least one client-streaming or bidirectional-streaming RPC to be exposed, is fixed in 1.1.0, and no public exploit identified at time of analysis.
Denial of service through CPU exhaustion in the Elixir gRPC stack: grpc_server 1.0.0 through 1.1.0 (exclusive) and the pre-split grpc package 0.3.1 through 1.0.0 (exclusive) allow an unauthenticated remote client to pin a BEAM scheduler at 100% indefinitely by sending a client-streaming or bidirectional-streaming request whose body ends inside an incomplete gRPC message. A single 5-byte length prefix delivered with END_STREAM is enough per connection, and repeated connections can exhaust every scheduler and deny service to all applications on the node; no CISA KEV listing or confirmed in-the-wild exploitation is reported, though the vendor advisory publishes a step-by-step reproduction recipe. Vendor patches exist (grpc_server 1.1.0, grpc 1.0.0) and priority is rated 'this_week', with CVSS 8.2/8.2-style availability-only impact and the important limiter that unary-only gRPC servers cannot be triggered.
Authorization bypass in the elixir-gRPC server library lets a caller make a handler act on a resource other than the one named in the URL of an HTTP-transcoded route. Only the transcoding branch of the request handler applies a route's path bindings to the request message; because the Cowboy handler selects its branch from the request Content-Type rather than from the route, a request to a transcoded URL carrying application/grpc or application/grpc-web is decoded from the body alone, so every path-bound field takes its value from the attacker-supplied body. Affected are grpc_server from 1.0.0 before 1.1.0 and grpc from 0.8.0 before 1.0.0, and exploitation additionally requires http_transcode: true with at least one route binding a resource identifier from the path plus an upstream authorizer (API gateway, proxy rule or WAF) that decides access from the URL path; a proof-of-concept sequence is published in the vendor advisory but has not been verified as working exploit code, and no active exploitation (CISA KEV) is recorded. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
Memory exhaustion in the elixir-grpc Erlpack codec: when GRPC.Codec.Erlpack is explicitly registered on a server, an unauthenticated client can send a single request with Content-Type: application/grpc+erlpack whose body is a compressed Erlang external term, and the server allocates a decoded term hundreds of megabytes larger than the request. The vendor's test showed a 260,932-byte body inflating to a 268,435,456-byte binary that was handed to the application callback, so one request can exhaust memory for every service on the node. Exposure is conditional on the operator registering the Erlpack codec (it is not a default), which is the primary limiting factor; grpc 0.4.0 through 0.9.x and grpc_core 1.0.0 through 1.0.x are affected, fixed versions are grpc 1.0.0 and grpc_core 1.1.0, and the vendor advisory includes a reproducible proof-of-concept recipe while no separate, confirmed public exploit release was identified at time of analysis.
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remote attackers to crash the BEAM VM via atom-table exhaustion or achieve remote code execution by sending crafted gRPC payloads with Content-Type application/grpc+erlpack. The flaw lives in GRPC.Codec.Erlpack.decode/2, which calls :erlang.binary_to_term/1 without the :safe option, size bounds, or type guards. No public exploit is identified at time of analysis, but the upstream fix is published at commit 272a97a and a patched 1.0.0 release is available.
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to crash BEAM nodes via a gzip decompression bomb. The GRPC.Compressor.Gzip module calls :zlib.gunzip/1 directly on attacker-controlled bytes without size limits, ratio checks, or incremental decoding, so a single small frame carrying the grpc-encoding: gzip header expands to multi-gigabyte allocations and triggers OOM kills. No public exploit identified at time of analysis, but a vendor patch is available in version 1.0.0.
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers to override path-bound URL parameters via query string or request body values, defeating ownership and multi-tenancy checks. The flaw stems from incorrect Map.merge/2 precedence in GRPC.Server.Transcode.map_request/5, where attacker-controlled query/body values silently overwrite the router-extracted path bindings used by handlers for authorization. No public exploit identified at time of analysis, but upstream patch and detailed regression tests are publicly available.
Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a single remote attacker to crash an Erlang/BEAM node by streaming an oversized or slow-trickle unary gRPC request body. The Cowboy handler's read_full_body/3 accumulates every chunk into one unbounded binary, and when no grpc-timeout header is sent the per-chunk read timeout collapses to :infinity, so memory grows without bound until the VM dies. No public exploit identified at time of analysis, but the fix is upstream in commit 49e18c3 and the issue is trivial to trigger.
Refused gRPC calls on elixir-grpc grpc_server 1.0.0 up to but not including 1.1.0 can permanently drain the HTTP/2 connection-level flow-control window, so every later call that carries a request body on that connection waits until its deadline. Unauthenticated remote attackers trigger it by issuing calls the server rejects early - a body larger than max_body_size, or a call to an unimplemented method - while DATA frames for those streams are still in flight; the flaw only bites when calls from multiple callers share one HTTP/2 connection (for example through a proxy or a shared client channel), and the impact is availability-only and scoped to that connection. The vendor advisory GHSA-7x9q-vvph-rjcr publishes a step-by-step proof-of-concept procedure (not verified working exploit code), there is no confirmed active exploitation (not in CISA KEV), and grpc_server 1.1.0 contains the fix.
Memory exhaustion in elixir-grpc grpc_server 1.0.0 through 1.0.x allows unauthenticated remote attackers to crash the Erlang node by opening many client-streaming or bidirectional-streaming calls and sending oversized length-prefixed messages. This is a genuine but bounded availability risk: the server asks Cowboy for up to 8,000,000 bytes per read and checks max_body_size only after the read returns, so each stream can buffer one full read beyond the limit, while releases before 1.0.6 had no streaming limit at all. The flaw requires at least one client-streaming or bidirectional-streaming RPC to be exposed, is fixed in 1.1.0, and no public exploit identified at time of analysis.
Denial of service through CPU exhaustion in the Elixir gRPC stack: grpc_server 1.0.0 through 1.1.0 (exclusive) and the pre-split grpc package 0.3.1 through 1.0.0 (exclusive) allow an unauthenticated remote client to pin a BEAM scheduler at 100% indefinitely by sending a client-streaming or bidirectional-streaming request whose body ends inside an incomplete gRPC message. A single 5-byte length prefix delivered with END_STREAM is enough per connection, and repeated connections can exhaust every scheduler and deny service to all applications on the node; no CISA KEV listing or confirmed in-the-wild exploitation is reported, though the vendor advisory publishes a step-by-step reproduction recipe. Vendor patches exist (grpc_server 1.1.0, grpc 1.0.0) and priority is rated 'this_week', with CVSS 8.2/8.2-style availability-only impact and the important limiter that unary-only gRPC servers cannot be triggered.
Authorization bypass in the elixir-gRPC server library lets a caller make a handler act on a resource other than the one named in the URL of an HTTP-transcoded route. Only the transcoding branch of the request handler applies a route's path bindings to the request message; because the Cowboy handler selects its branch from the request Content-Type rather than from the route, a request to a transcoded URL carrying application/grpc or application/grpc-web is decoded from the body alone, so every path-bound field takes its value from the attacker-supplied body. Affected are grpc_server from 1.0.0 before 1.1.0 and grpc from 0.8.0 before 1.0.0, and exploitation additionally requires http_transcode: true with at least one route binding a resource identifier from the path plus an upstream authorizer (API gateway, proxy rule or WAF) that decides access from the URL path; a proof-of-concept sequence is published in the vendor advisory but has not been verified as working exploit code, and no active exploitation (CISA KEV) is recorded. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
Memory exhaustion in the elixir-grpc Erlpack codec: when GRPC.Codec.Erlpack is explicitly registered on a server, an unauthenticated client can send a single request with Content-Type: application/grpc+erlpack whose body is a compressed Erlang external term, and the server allocates a decoded term hundreds of megabytes larger than the request. The vendor's test showed a 260,932-byte body inflating to a 268,435,456-byte binary that was handed to the application callback, so one request can exhaust memory for every service on the node. Exposure is conditional on the operator registering the Erlpack codec (it is not a default), which is the primary limiting factor; grpc 0.4.0 through 0.9.x and grpc_core 1.0.0 through 1.0.x are affected, fixed versions are grpc 1.0.0 and grpc_core 1.1.0, and the vendor advisory includes a reproducible proof-of-concept recipe while no separate, confirmed public exploit release was identified at time of analysis.
Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remote attackers to crash the BEAM VM via atom-table exhaustion or achieve remote code execution by sending crafted gRPC payloads with Content-Type application/grpc+erlpack. The flaw lives in GRPC.Codec.Erlpack.decode/2, which calls :erlang.binary_to_term/1 without the :safe option, size bounds, or type guards. No public exploit is identified at time of analysis, but the upstream fix is published at commit 272a97a and a patched 1.0.0 release is available.
Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to crash BEAM nodes via a gzip decompression bomb. The GRPC.Compressor.Gzip module calls :zlib.gunzip/1 directly on attacker-controlled bytes without size limits, ratio checks, or incremental decoding, so a single small frame carrying the grpc-encoding: gzip header expands to multi-gigabyte allocations and triggers OOM kills. No public exploit identified at time of analysis, but a vendor patch is available in version 1.0.0.
Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers to override path-bound URL parameters via query string or request body values, defeating ownership and multi-tenancy checks. The flaw stems from incorrect Map.merge/2 precedence in GRPC.Server.Transcode.map_request/5, where attacker-controlled query/body values silently overwrite the router-extracted path bindings used by handlers for authorization. No public exploit identified at time of analysis, but upstream patch and detailed regression tests are publicly available.
Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a single remote attacker to crash an Erlang/BEAM node by streaming an oversized or slow-trickle unary gRPC request body. The Cowboy handler's read_full_body/3 accumulates every chunk into one unbounded binary, and when no grpc-timeout header is sent the per-chunk read timeout collapses to :infinity, so memory grows without bound until the VM dies. No public exploit identified at time of analysis, but the fix is upstream in commit 49e18c3 and the issue is trivial to trigger.
Refused gRPC calls on elixir-grpc grpc_server 1.0.0 up to but not including 1.1.0 can permanently drain the HTTP/2 connection-level flow-control window, so every later call that carries a request body on that connection waits until its deadline. Unauthenticated remote attackers trigger it by issuing calls the server rejects early - a body larger than max_body_size, or a call to an unimplemented method - while DATA frames for those streams are still in flight; the flaw only bites when calls from multiple callers share one HTTP/2 connection (for example through a proxy or a shared client channel), and the impact is availability-only and scoped to that connection. The vendor advisory GHSA-7x9q-vvph-rjcr publishes a step-by-step proof-of-concept procedure (not verified working exploit code), there is no confirmed active exploitation (not in CISA KEV), and grpc_server 1.1.0 contains the fix.