Repository navigation
Micronaut Security 5.4.2
π¨ Security Fixes
This release includes the following security fixes:
- Match root intercept URL map patterns when a context path is configured β GHSA-9p96-xfm5-fhrr.
- Match intercept URL map patterns against the routed path β GHSA-225x-m3g7-h3fc.
- Reject requests when a
@Securedexpression evaluates to null β GHSA-5gmg-jhq8-8f46. - Match dots literally in IP wildcard patterns β GHSA-cjfm-j2vw-r8g8.
- Restrict prior-to-login redirects to local paths β GHSA-fp7x-m8rj-c99q.
- Build the OAuth token request
redirect_urifrom the application callback route β GHSA-48pg-wgcc-jr7h. - Restrict OpenID provider JWKS to ID token validation β GHSA-qg4x-g29m-8972.
- Validate ID token issuers against the configured OpenID issuer β GHSA-35xw-qhv4-3j97.
- Tighten issuer claim matching β GHSA-qr8w-hxv9-92gh.
- Bind OpenID provider JWKS to the providerβs issuer β GHSA-7mp3-v9m3-xj9c.
- Reject ID tokens issued to disabled OAuth clients β GHSA-r5p7-rhcj-jh75.
- Bind UserInfo authentications to the provider that answered β GHSA-2hvh-qgrg-9x4v.
- Qualify OpenID usernames with the provider when multiple clients are configured β GHSA-jw86-wc3g-4qw2.
- Prevent provider HTTP requests from following redirects β GHSA-jmhh-jwqx-v9xr.
- Send only the authenticating token as
id_token_hintduring Okta logout β GHSA-gc9r-29h7-j22g. - Append end-session parameters without interpreting the URL as a template β GHSA-7mr8-3phg-5p2c.
- Honor the configured key type when verifying JWTs against remote JWKS β GHSA-4cpp-jg7m-qmrg.
- Back off after failed remote JWK Set retrieval β GHSA-3342-vfw6-p36c.
- Remove the unbounded algorithm-keyed JWT signature validation cache β GHSA-8q27-vgx7-m7rx.
- Consult token validators sequentially and stop at the first match β GHSA-53fg-fcg3-rhpg.
- Make the session CSRF token authoritative over a planted CSRF cookie β GHSA-5jg2-867c-v33w.
- Reject malformed form bodies in the CSRF filter without failing β GHSA-jqmr-rmh4-7vwq.
- Stop logging tokens that fail refresh-token validation β GHSA-hj4f-f856-x9p6.
- Redact tokens from security event string representations β GHSA-rw57-vf5m-cw29.
- Prevent LDAP authentication from revealing whether a username exists β GHSA-q334-qw3j-c38x.
- Preserve commas in single-valued LDAP attributes β GHSA-3885-wfpm-p3p3.
- Stop binding single-valued LDAP properties as LDAP configurations β GHSA-mch3-j785-25rx.
Additional fixes include consistent UTF-8 encoding for HMAC and Base64 conversions, removal of CSRF token values from logs, and restricting OJDBC end-user context attribute values to TRACE logging.
Improvements β
- Log OJDBC end-user context attribute values only at TRACE by @sdelamo in #2354
- Do not log CSRF token values by @sdelamo in #2346
Other Changes π‘
Full Changelog: v5.4.1...v5.4.2