CVE-2026-40303
zrok: Unauthenticated DoS via unbounded memory allocation in striped session cookie parsing
Auswirkung
zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, endpoints.GetSessionCookie parses an attacker-supplied cookie chunk count and calls make([]string, count) with no upper bound before any token validation occurs. The function is reached on every request to an OAuth-protected proxy share, allowing an unauthenticated remote attacker to trigger gigabyte-scale heap allocations per request, leading to process-level OOM termination or repeated goroutine panics. Both publicProxy and dynamicProxy are affected. Version 2.0.1 patches the issue.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/openziti/zrok | <= 1.1.11 | nicht erfasst |
| go | github.com/openziti/zrok/v2 | < 2.0.1 | 2.0.1 |
Betroffene Produkte · Netfoundry
| Produkt | Betroffene Versionen |
|---|---|
| Zrok | vor 2.0.1 |