Centrifugo
Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass
Centrifugo is an open-source scalable real-time messaging server. Prior to 6.8.1, Centrifugo dynamic JWKS endpoint verification could reuse a key for one allowed issuer to verify a JWT for another allowed issuer because the JWKS cache and singleflight lookup were keyed only by JWT header kid, not by the resolved JWKS endpoint, issuer, audience, or trust-domain namespace, affecting client.token.jwks_public_endpoint, client.subscription_token.jwks_public_endpoint, internal/jwks/cache.go, and internal/jwks/manager.go. This issue is fixed in version 6.8.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.8.1
Fixed in 6.8.1
Mitigation
Upgrade centrifugo to 6.8.1 or later.
References
- Vendor advisory github.com/centrifugal/centrifugo/security/adv…
- Patch github.com/centrifugal/centrifugo/pull/1142
- Patch github.com/centrifugal/centrifugo/commit/15d78…
1 more
- Release notes github.com/centrifugal/centrifugo/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.