Skip to content

Micronaut Core 5.2.23

Latest

Choose a tag to compare

@sdelamo sdelamo released this 11 Nov 10:16
· 9 commits to 5.2.x since this release

What's Changed

Micronaut Core 5.2.23 is a patch release with security fixes and framework improvements. It addresses 38 GitHub Security Advisories.

🚨 Security fixes

HTTP server and routing

HTTP clients

  • Bound HTTP client response sizes and timeouts for stalled bodies: GHSA-j3jr-9qw4-m252.
  • Release client buffers and connections after malicious or failing upstream responses: GHSA-fr2f-ww99-xgcc.
  • Clear stale Content-Length state and prevent unsafe connection reuse after decode failures: GHSA-wv7m-pmvh-98h9.
  • Isolate client cookies and credentials and prevent unsafe request-construction behavior: GHSA-mfrv-8fw9-56vq.
  • Bound JSON stream element size and processing work: GHSA-5pxm-5867-gjc9.
  • Honor configured header filters on cross-origin redirects in the JDK HTTP client: GHSA-9mfm-8wr5-m838.
  • Do not forward request framing or hop-by-hop headers from relayed requests in the JDK HTTP client: GHSA-64w5-89v4-549v.

WebSockets and server-sent events

Improvements and fixes

  • Keep @InjectScope beans scoped to each creation, including nested and concurrent creations.
  • Keep runtime proxy target resolutions isolated, and deliver reactive signals with the propagated context bound.
  • Make propagated context entry and exit cheaper, and restore the previous context even when a thread element fails.
  • Prevent environment lookups from failing while the environment is starting.
  • Choose the highest-weight acceptable compression algorithm and never select an algorithm assigned q=0.
  • Avoid duplicate processing of executable methods by deprecated method processors.
  • Resolve @Replaces chains and allow replacements to satisfy the qualifiers of the beans they replace.
  • Resolve placeholders in @Executable annotation members separately for each application context.
  • Preserve Python object identity during conversion and support type-use annotation metadata without a native originating element.
  • Read Kotlin annotation defaults from the compiled annotation class when the current processing round has no usage.

Other changes

  • Improve test compatibility and stability for current JDK and Netty behavior, including retrying an external TLS test when the remote test service times out.

Full changelog