Micronaut Core 3.10.19 is a security patch release. It fixes 25 GitHub Security Advisories and updates the managed Micronaut Security version to 3.11.3.
🚨 Security fixes
HTTP server and routing
- Isolate listeners and handle id-less management endpoints safely: GHSA-c856-m48r-3gpc.
- Harden the CORS localhost guard against loopback
Hostforms and forwarded-header bypasses: GHSA-72p5-8f28-xwp2, GHSA-fv5h-6pjp-g363. - Prevent URI variables from overriding explicitly bound route arguments: GHSA-hm9j-m8h9-32v9.
- Apply
@JsonViewwhen an@Bodyvalue is aPublisherorCompletableFuture: GHSA-432j-9h93-pv45. - Match CORS preflight requests against the route serving the requested method: GHSA-c79q-p83r-9vpm.
- Escape control characters in access log values: GHSA-wgxm-75ph-q27x.
- Match filters against the normalized path used by the router: GHSA-wcgp-mmwm-x2x2.
- Run route-scoped filters for every request reaching the route: GHSA-p72j-v3qh-v5mm.
- Bound request parsing work and avoid reverse DNS lookups on the event loop: GHSA-jfwr-qrpq-5g48.
- Coalesce tiny body pieces to limit processing overhead: GHSA-h2j4-vr48-c4vv.
- Ensure context-path filters cover function and WebSocket routes and do not skip prefix-colliding routes: GHSA-gj4v-r6x3-66jp.
- Ignore over-long
Accept-Languagetags: GHSA-jj39-pp85-xj49. - Discard streaming form fields when route processing fails: GHSA-8rrh-x2ch-p2vv.
- Reject truncated compressed request bodies: GHSA-2j79-mgc9-v76r, GHSA-hgj7-52cp-647p.
- Close a
StreamedFileinput stream when the response is304 Not Modified: GHSA-mjjj-6mx9-p8px. - Prevent classpath resource resolution from following symlinks outside the resource base: GHSA-5hmw-vf9q-xqhv.
HTTP client and service discovery
- Clear stale
Content-Lengthstate and prevent unsafe connection reuse after a response decode failure: GHSA-wv7m-pmvh-98h9. - Bound streamed JSON element sizes in the HTTP client: GHSA-5pxm-5867-gjc9.
- Fix service instance resolution and client cookie injection behavior: GHSA-mfrv-8fw9-56vq.
WebSockets and server-sent events
- Harden WebSocket upgrade handling: GHSA-gpxf-v9p3-4hh5.
- Bound WebSocket inbound work: GHSA-38pj-464p-88jf.
- Bound waits for outbound WebSocket writes: GHSA-973f-vvmg-r76v.
- Neutralize line breaks in server-sent event fields: GHSA-596x-f5j6-xvhc.
Other changes
- Update the managed Micronaut Security version to 3.11.3.
- Keep the 3.10.x test suite compatible with its Java 8 baseline.
Full Changelog: v3.10.18...v3.10.19