Skip to content

Micronaut Security 5.4.3

Choose a tag to compare

@sdelamo sdelamo released this 23 Nov 10:38
· 1 commit to 5.4.x since this release

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: WellKnownProxyFilter forwarded the Cookie and Authorization headers 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: HEAD requests bypassed intercept URL map rules defined for GET. GET rules now also apply to HEAD requests.
  • GHSA-756q-64wx-cg5x: Static resources with no matching rule were public when micronaut.security.reject-not-found was false. Unmatched static resources are now rejected.
  • GHSA-23v7-vrjc-9m3p: @Secured expressions 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: Authenticator ignored 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: idtoken logout 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.properties never reached JNDI, so ssl was ignored and binds were sent in cleartext. The properties are now passed to JNDI as flat verbatim keys.

Low

  • GHSA-295c-r6r5-pvqc: ExecutorAuthenticationProvider with 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