CVE-2026-121809
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM sche…
Auswirkung
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM scheduler indefinitely via a client-streaming or bidirectional-streaming request whose body ends inside a gRPC message. GRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, and the Cowboy adapter in grpc before the package split) asks for more data whenever the buffer does not hold a complete message. Once the request body has ended, every further read returns an empty chunk, so the buffer never changes and the function retries without end. A single 5-byte length prefix sent with END_STREAM keeps one scheduler busy for as long as the connection stays open, and repeated requests exhaust all schedulers. This issue affects grpc: from 0.3.1 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Elixir-grpc | Grpc | ab 0.3.1 vor 1.0.0 ab 6d8a09ad919e208fb600538ac8b19bd733a04310 vor 0332faae5f5e132314794dbfdae5edecbccea292 |
| Elixir-grpc | Grpc Server | ab 1.0.0 vor 1.1.0 ab 0332faae5f5e132314794dbfdae5edecbccea292 vor 38955f1392cbf08eef231a347348445410455c85 |
| gRPC | ab 0.3.1 vor 1.0.0 ab 6d8a09ad919e208fb600538ac8b19bd733a04310 vor 0332faae5f5e132314794dbfdae5edecbccea292 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- https://github.com/elixir-grpc/grpc/security/advisories/GHSA-c2h9-f9cc-27xh
- https://cna.erlef.org/cves/CVE-2026-121809.html
- https://osv.dev/vulnerability/EEF-CVE-2026-121809
- https://github.com/elixir-grpc/grpc/commit/0332faae5f5e132314794dbfdae5edecbccea292
- https://github.com/elixir-grpc/grpc/commit/38955f1392cbf08eef231a347348445410455c85
- https://github.com/elixir-grpc/grpc/commit/6d8a09ad919e208fb600538ac8b19bd733a04310