Skip to content

Micronaut Security 3.11.3

Choose a tag to compare

@sdelamo sdelamo released this 11 Nov 08:37

🚨 Security fixes

  • GHSA-225x-m3g7-h3fc: Intercept URL map authorization could be bypassed with an encoded slash or blank path variable. Patterns are now matched against the routed path.
  • GHSA-9p96-xfm5-fhrr: An intercept URL map root pattern could be bypassed when a context path was set.
  • GHSA-jmhh-jwqx-v9xr: Identity provider HTTP clients followed redirects, enabling SSRF. Provider requests no longer follow redirects.
  • GHSA-fp7x-m8rj-c99q: Prior-to-login redirects could be sent to an attacker-controlled host using a request path with leading slashes. Redirects are now restricted to local paths.
  • GHSA-48pg-wgcc-jr7h: The OAuth 2.0 client could redeem a code using the redirect_uri from state. The token request now builds redirect_uri from the application callback route.
  • GHSA-r5p7-rhcj-jh75: IdTokenClaimsValidator accepted ID tokens issued to disabled OAuth 2.0 clients. Disabled clients are now excluded from validation.
  • GHSA-7mp3-v9m3-xj9c: A provider's JWKS was not bound to its issuer, allowing a key from one provider to sign tokens as another. JWKS verification is now bound to the issuer.
  • GHSA-jw86-wc3g-4qw2: DefaultOpenIdAuthenticationMapper could map the same sub from two providers to one user. Usernames are now qualified with the provider when multiple clients are configured.
  • GHSA-3885-wfpm-p3p3: LDAP group names containing commas could be split, granting roles from other groups. Commas are now preserved in single-valued LDAP attributes.
  • GHSA-q334-qw3j-c38x: LDAP authentication could reveal whether a username existed through the error reason and bind timing.
  • GHSA-cjfm-j2vw-r8g8: IpPatternsRule treated dots as wildcards, so 192.168.1.* also matched addresses such as 192.168.10.x. Dots are now matched literally.
  • GHSA-hj4f-f856-x9p6: SignedRefreshTokenGenerator logged introspected tokens at WARN level. The token is no longer logged.
  • GHSA-rw57-vf5m-cw29: Access tokens could appear in DEBUG logs through token-carrying security event toString methods. Token values are now redacted.
  • GHSA-35xw-qhv4-3j97: IssuerClaimValidator could accept an issuer asserted by one provider but configured for another. ID token issuers are now checked against the configured OpenID issuer.
  • GHSA-4cpp-jg7m-qmrg: JWKS signature validation ignored the configured key type. Validation now honors the key type.
  • GHSA-3342-vfw6-p36c: Failed JWKS retrievals were retried for every bearer token. Retries now use a back-off.
  • GHSA-7mr8-3phg-5p2c: End-session parameters were expanded as a URI template, which could cause excessive memory use. Parameters are now appended without template expansion.
  • GHSA-mch3-j785-25rx: Single-valued LDAP properties such as micronaut.security.ldap.enabled could be bound as LDAP configurations without a server. Such properties no longer create LDAP configurations.

Full Changelog: v3.11.2...v3.11.3