← Releases

Micronaut Framework 4.10.25 Released!

We have released Micronaut Framework 4.10.25, a security release. It updates to Micronaut Security 4.18.3, which addresses nine GitHub Security Advisories, and to Micronaut Servlet 5.6.3, which addresses three, one of them critical. We strongly recommend that all Micronaut Framework 4 users update to Micronaut Framework 4.10.25.

If you are using Micronaut Framework 5, update to Micronaut Framework 5.2.8, which includes the corresponding security fixes.

Micronaut Servlet

Micronaut Servlet 5.6.3 fixes the following advisories:

  • Critical, GHSA-w6m4-q67f-c6vj: micronaut.ssl.client-authentication was not enforced on Tomcat and Undertow, so clients without a certificate got past mutual TLS.
  • High, GHSA-23wq-jr9g-78hm: the POJA runtime parsed unread request bodies as the next request, which allowed request smuggling, handled Content-Length and Transfer-Encoding leniently, and did not bound line lengths.
  • High, GHSA-7xvw-h4vr-r24m: the JDK HTTP server runtime decoded request paths before it parsed the URI, which caused double decoding, path and query confusion, and dropped connections.

If you rely on mutual TLS with Tomcat or Undertow, update as soon as possible.

Micronaut Security

Micronaut Security 4.18.3 fixes two advisories of high severity, six of medium severity, and one of low severity.

High

  • 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.

Medium

  • GHSA-fwcg-w62g-38x8: HEAD requests bypassed intercept URL map rules defined for GET.
  • GHSA-756q-64wx-cg5x: static resources with no matching rule were public when micronaut.security.reject-not-found was false.
  • GHSA-7wpc-pg3p-r423: signed CSRF tokens were not bound to the user with cookie authentication. They are now bound to the authenticated user.
  • GHSA-9233-7r85-gq32: the OpenID password grant ignored the global OpenIdAuthenticationMapper and logged in users that the mapper rejects. The password grant flow now uses the global mapper.
  • GHSA-wwxx-8pqm-6mvg: an unbounded LDAP connection pool blocked logins after a burst of anonymous requests.
  • GHSA-mprx-ccc5-533h: LDAP context.properties never reached JNDI, so ssl was ignored and binds were sent in cleartext.

Low

  • GHSA-295c-r6r5-pvqc: ExecutorAuthenticationProvider with a custom executor ran on the event loop. It now runs on the executor it names.

Behaviour changes to check when you update

Some of these fixes change defaults. Review them before you update:

  • UserInfo endpoint token validation is disabled by default.
  • Intercept URL map rules defined for GET also apply to HEAD requests.
  • Static resources that match no rule are rejected, even when micronaut.security.reject-not-found is false.
  • The LDAP manager context is no longer pooled by default, and LDAP context.properties are passed to JNDI as flat verbatim keys.

If you haven’t yet updated to Micronaut Framework 5, this is an excellent opportunity to do so!

Please feel free to reach out to us if you need any assistance.