Skip to main content
Menu
Advisories

Micronaut performs unbounded parsing and blocking work on the Netty event loop, letting one client stall other connections

GHSA-JFWR-QRPQ-5G48Published Updated GitHub

Description

Several operations driven by request content run unbounded work or blocking calls on the event loop, delaying every connection that shares it. The default access log format (%h) performs an uncached reverse-DNS lookup per connection; a million-digit q value in a MediaType parameter, one exception per malformed Accept-Encoding weight, and huge-exponent BigDecimal form fields cost CPU proportional to the input; nested indexed form keys bypass arraySizeThreshold in JsonBeanPropertyBinder (heap amplification and an uncaught StackOverflowError, variant of GHSA-43w5-mmxv-cpvh); and closing an InputStream response body on disconnect runs on the event loop. In loom-carrier mode, the FIFO fallback is unreachable and a running continuation is never preempted, so one CPU-bound request stalls IO for its carrier's connections. The fix is to cap numeric and nesting sizes before parsing, move blocking calls off the event loop (or make the access log resolve lazily), and fix the loom scheduler fallbacks.

Affected and patched versions

Reverse DNS in access logs (F13), nested form keys (F23), BigDecimal conversion (R9GGLE4J), and H7RCOT70 predate 3.0.0. The loom-carrier variants F31/F32 and FormDemuxer variant MU7M0URL are specific to 5.x.

PackageAffected versionsPatched version
io.micronaut:micronaut-http-server-netty< 3.10.193.10.19
io.micronaut:micronaut-http-server-netty>= 4.0.0, < 4.10.374.10.37
io.micronaut:micronaut-http-server-netty>= 5.0.0, < 5.2.235.2.23
io.micronaut:micronaut-http-netty>= 4.9.0, < 4.10.374.10.37
io.micronaut:micronaut-http-netty>= 5.0.0, < 5.2.235.2.23
io.micronaut:micronaut-http< 3.10.193.10.19
io.micronaut:micronaut-http>= 4.0.0, < 4.10.374.10.37
io.micronaut:micronaut-http>= 5.0.0, < 5.2.235.2.23
io.micronaut:micronaut-json-core< 3.10.193.10.19
io.micronaut:micronaut-json-core>= 4.0.0, < 4.10.374.10.37
io.micronaut:micronaut-json-core>= 5.0.0, < 5.2.235.2.23
io.micronaut:micronaut-core< 3.10.193.10.19
io.micronaut:micronaut-core>= 4.0.0, < 4.10.374.10.37
io.micronaut:micronaut-core>= 5.0.0, < 5.2.235.2.23

The 3.x fix is in commit 76c11a27d3, first included in stable release 3.10.19. The last affected stable 3.10.x release is 3.10.18.

Findings

  • F13
  • F23
  • F31
  • F32
  • ANT-2026-MU7M0URL
  • ANT-2026-ALSTCWHB
  • ANT-2026-R9GGLE4J
  • ANT-2026-H7RCOT70

Affected versions

References

GitHub · micronaut-projects/micronaut-core