Micronaut-projects micronaut-core
Micronaut Framework vulnerable to a Denial of Service in HTML error response caching
Micronaut Framework is a JVM-based full stack Java framework designed for building modular, easily testable JVM applications. Versions 4.7.0 through 4.10.16 used an unbounded ConcurrentHashMap cache with no eviction policy in its DefaultHtmlErrorResponseBodyProvider. If the application throws an exception whose message may be influenced by an attacker, (for example, including request query value parameters) it could be used by remote attackers to cause an unbounded heap growth and OutOfMemoryError, leading to DoS. This issue has been fixed in version 4.10.7.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.7.0, < 4.10.17
Fixed in 4.10.17
Mitigation
Upgrade micronaut-core to 4.10.17 or later.
References
- Vendor advisory github.com/micronaut-projects/micronaut-core/s…
- Patch github.com/micronaut-projects/micronaut-core/c…
- Release notes github.com/micronaut-projects/micronaut-core/r…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.