GHSA-2hcp-gjrf-7fhc

Suggest an improvement
Source
https://github.com/advisories/GHSA-2hcp-gjrf-7fhc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2hcp-gjrf-7fhc/GHSA-2hcp-gjrf-7fhc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2hcp-gjrf-7fhc
Aliases
Downstream
Published
2026-03-17T18:39:27Z
Modified
2026-09-10T03:50:36Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Micronaut Framework vulnerable to a Denial of Service in HTML error response caching
Details

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: https://github.com/micronaut-projects/micronaut-core/commit/1e2ba2c14386af3d47751732d02053a72b0b49b3

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-17T18:39:27Z",
    "nvd_published_at": "2026-03-20T05:16:15Z",
    "severity": "HIGH"
}
References

Affected packages

Maven / io.micronaut:micronaut-http-server

Package

Name
io.micronaut:micronaut-http-server
View open source insights on deps.dev
Purl
pkg:maven/io.micronaut/micronaut-http-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
4.10.17

Affected versions

4.*
4.7.0
4.7.1
4.7.2
4.7.3
4.7.4
4.7.5
4.7.6
4.7.7
4.7.8
4.7.9
4.7.10
4.7.11
4.7.12
4.7.13
4.7.14
4.7.15
4.7.16
4.7.17
4.7.18
4.7.19
4.7.20
4.7.21
4.7.22
4.7.23
4.7.24
4.7.25
4.7.26
4.7.27
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.8.10
4.8.11
4.8.12
4.8.13
4.8.14
4.8.15
4.8.16
4.8.17
4.8.18
4.8.19
4.9.0
4.9.1
4.9.2
4.9.3
4.9.4
4.9.5
4.9.6
4.9.7
4.9.8
4.9.9
4.9.10
4.9.11
4.9.12
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.10.10
4.10.11
4.10.12
4.10.13
4.10.14
4.10.15
4.10.16

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2hcp-gjrf-7fhc/GHSA-2hcp-gjrf-7fhc.json"