Micronaut Framework vulnerable to a Denial of Service in HTML error response caching
Package
Affected versions
>= 4.7.0, < 4.10.17
Patched versions
4.10.17
Description
Published to the GitHub Advisory Database
Mar 17, 2026
Reviewed
Mar 17, 2026
DefaultHtmlErrorResponseBodyProviderinio.micronaut:micronaut-http-serversince4.7.0and until4.10.7used an unboundedConcurrentHashMapcache with no eviction policy. If the application throws an exception whose message may be influenced by an attacker, for example, including request query value parameters, this could be used by remote attackersto cause a denial of service (unbounded heap growth and OutOfMemoryError).
Fixed via: micronaut-projects/micronaut-core@1e2ba2c
References