Repository navigation
Micronaut Security 3.11.3
🚨 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_urifrom state. The token request now buildsredirect_urifrom the application callback route. - GHSA-r5p7-rhcj-jh75:
IdTokenClaimsValidatoraccepted 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:
DefaultOpenIdAuthenticationMappercould map the samesubfrom 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:
IpPatternsRuletreated dots as wildcards, so192.168.1.*also matched addresses such as192.168.10.x. Dots are now matched literally. - GHSA-hj4f-f856-x9p6:
SignedRefreshTokenGeneratorlogged 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
toStringmethods. Token values are now redacted. - GHSA-35xw-qhv4-3j97:
IssuerClaimValidatorcould 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.enabledcould be bound as LDAP configurations without a server. Such properties no longer create LDAP configurations.
Full Changelog: v3.11.2...v3.11.3