Duende.BFF 3.1.3
We've published several security advisories for Duende products including IdentityServer and BFF, along with updated packages that fix them. We strongly recommend updating to the latest patched releases.
The fix changes default behavior. Read Breaking changes below before you upgrade.
The same fix is released in 3.1.3, 3.0.2, 2.3.2 and 2.2.2, and for 4.x in 4.3.4, 4.2.2, 4.1.4 and 4.0.5.
Security fixes
- GHSA-x394-gwr7-4885: Responses from proxied APIs can set session cookies, and signing in then reuses that planted server-side session.
Breaking changes
- Proxied APIs can no longer set cookies. If you rely on cookies set by a proxied API, for example load balancer affinity cookies, you can turn this off with
BffOptions.RemoveCookieHeadersFromProxiedResponses = false. Only do this if you trust every API that the BFF proxies. - Server-side sessions: a user who signs in on a browser that still carries another user's session is signed out, and has to sign in a second time. If you replaced
IServerTicketStorewith your own implementation, upgrading doesn't fix the vulnerability for you; see the advisory for the change to make.
Dependencies
On net10.0, Duende.BFF.Blazor.Client now requires the 10.0.14 versions of its ASP.NET Core and Microsoft.Extensions dependencies.
Full Changelog: bff-3.1.2...bff-3.1.3