Repository navigation
Micronaut Security 5.4.3
Security fixes 🔒
Micronaut Security 5.4.3 fixes the following security advisories. We recommend that all users upgrade.
High
- GHSA-7xhp-hpw5-j83r: Unsigned JWTs were accepted after OpenID discovery failed at startup. The JWKS signatures of OpenID providers are now registered even when discovery fails.
- GHSA-88vj-5xqx-98wp:
WellKnownProxyFilterforwarded theCookieandAuthorizationheaders to the issuer. Credentials are no longer forwarded. - GHSA-v87w-xpvm-29vx: The UserInfo token validator accepted access tokens issued to other clients by default. UserInfo endpoint token validation is now disabled by default.
Medium
- GHSA-fwcg-w62g-38x8:
HEADrequests bypassed intercept URL map rules defined forGET.GETrules now also apply toHEADrequests. - GHSA-756q-64wx-cg5x: Static resources with no matching rule were public when
micronaut.security.reject-not-foundwasfalse. Unmatched static resources are now rejected. - GHSA-23v7-vrjc-9m3p:
@Securedexpressions could be evaluated as another user during JWKS load. Expressions are now evaluated in the context of the request being checked. - GHSA-h926-pf3j-rwq5:
Authenticatorignored the order of authentication providers, so the roles of the fastest provider won. Providers are now evaluated sequentially in precedence order. - GHSA-7wpc-pg3p-r423: Signed CSRF tokens were not bound to the user with cookie authentication. Signed CSRF tokens are now bound to the authenticated user.
- GHSA-9233-7r85-gq32: The OpenID password grant ignored the global
OpenIdAuthenticationMapper, logging in users it rejects. The password grant flow now uses the global mapper. - GHSA-v3pj-67qw-v7x4:
idtokenlogout leaked the ID token to the wrong provider when issuers overlap. The logout provider is now resolved by audience. - GHSA-vm58-x8hm-gcp7: The UserInfo token validator leaked access tokens to other OpenID providers. Bearer tokens are now sent only to the UserInfo endpoint of their issuer.
- GHSA-wwxx-8pqm-6mvg: An unbounded LDAP connection pool blocked logins after one anonymous burst. The LDAP manager context is no longer pooled by default.
- GHSA-mprx-ccc5-533h: LDAP
context.propertiesnever reached JNDI, sosslwas ignored and binds were sent in cleartext. The properties are now passed to JNDI as flat verbatim keys.
Low
- GHSA-295c-r6r5-pvqc:
ExecutorAuthenticationProviderwith a custom executor ran on the event loop (DoS). It now runs on the executor it names.
Full Changelog: v5.4.2...v5.4.3