CVE-2026-71485
Centrifugo: Client-forgeable headers emulation lets any client spoof headers forwarded to proxy backends
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: GHSA.
Açıklama
Centrifugo is an open-source scalable real-time messaging server. Prior to 6.9.0, Centrifugo copies the client-controlled protocol.ConnectRequest.headers map through OnClientConnecting in internal/client/handler.go, ConnectEvent.Headers, and SetEmulatedHeadersToContext. The requestHeaders path in internal/proxy/http.go, the requestMetadata path in internal/proxy/grpc.go, and the Consume path in internal/unigrpc/grpc.go can forward an allowlisted value as a trusted backend header or metadata value. A remote client can spoof a header such as x-trusted-user for connect, refresh, subscribe, publish, RPC, and related proxy calls when the backend relies on that header for authentication or authorization. The unidirectional gRPC transport has no transport-level HTTP header that can override the emulated value. This issue is fixed in version 6.9.0.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/centrifugal/centrifugo | 6.9.0 |
Referanslar
- https://github.com/centrifugal/centrifugo
- https://github.com/centrifugal/centrifugo/commit/84d38cea1dd2efa24375a148817a974c8727f4b0
- https://github.com/centrifugal/centrifugo/pull/1182
- https://github.com/centrifugal/centrifugo/releases/tag/v6.9.0
- https://github.com/centrifugal/centrifugo/security/advisories/GHSA-9468-v6mj-fppw
- https://nvd.nist.gov/vuln/detail/CVE-2026-71485