CVE-2026-48853
grpc: elixir-grpc grpc: Remote Code Execution and Denial of Service via Deserialization of Untrusted Data
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: GHSA, Red Hat.
Açıklama
Deserialization of Untrusted Data and Allocation of Resources Without Limits or Throttling vulnerabilities in elixir-grpc grpc allow unauthenticated attackers to crash the BEAM node via atom table exhaustion and, when a decoded term flows into a call site that invokes it, achieve remote code execution on the server. 'Elixir.GRPC.Codec.Erlpack':decode/2 (lib/grpc/codec/erlpack.ex) calls :erlang.binary_to_term/1 on the raw gRPC message body without the :safe option, no size bound, and no type guard. Any unauthenticated peer that sends a request with Content-Type: application/grpc+erlpack can send a crafted payload that mints arbitrary new atoms (which are never garbage-collected, exhausting the bounded atom table and crashing the VM) or that encodes a fun term which, if applied anywhere downstream, executes attacker-controlled code inside the server process. This issue affects grpc: from 0.4.0 before 1.0.0.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| erlang::GitHub Security Advisory Erlang | grpc | 1.0.0 |
Referanslar
- https://access.redhat.com/security/cve/CVE-2026-48853
- https://cna.erlef.org/cves/CVE-2026-48853.html
- https://github.com/elixir-grpc/grpc
- https://github.com/elixir-grpc/grpc/commit/25bcc569fe2cc4478531a6c546c923205fc751c9
- https://github.com/elixir-grpc/grpc/commit/272a97a5ea1b46af1819f14a831fcf35fc91f992
- https://github.com/elixir-grpc/grpc/pull/540
- https://github.com/elixir-grpc/grpc/releases/tag/v1.0.0
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h