DefaultHtmlErrorResponseBodyProvider in io.micronaut:micronaut-http-server since 4.7.0 and until 4.10.7 used an unbounded ConcurrentHashMap cache 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 attackers
to cause a denial of service (unbounded heap growth and OutOfMemoryError).
Fixed via: 1e2ba2c
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: 1e2ba2c