CVE-2025-2240: SmallRye Fault Tolerance out-of-memory (OOM) issue
A flaw was found in Smallrye, where smallrye-fault-tolerance is vulnerable to an out-of-memory (OOM) issue. This vulnerability is externally triggered when calling the metrics URI. Every call creates a new object within meterMap and may lead to a denial of service (DoS) issue.
Published Mar 12, 2025 · Updated May 21, 2025
Affected packages
io.smallrye:smallrye-fault-tolerance-core
- Ecosystem
- Maven
- Affected
- >= 6.3.0, < 6.4.2
- Fixed in
- 6.4.2
- Check
mvn dependency:tree -Dincludes=io.smallrye:smallrye-fault-tolerance-core
io.smallrye:smallrye-fault-tolerance-core
- Ecosystem
- Maven
- Affected
- >= 6.5.0, < 6.9.0
- Fixed in
- 6.9.0
- Check
mvn dependency:tree -Dincludes=io.smallrye:smallrye-fault-tolerance-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw was found in Smallrye, where smallrye-fault-tolerance is vulnerable to an out-of-memory (OOM) issue. This vulnerability is externally triggered when calling the metrics URI. Every call creates a new object within meterMap and may lead to a denial of service (DoS) issue.
Credited to claudio4j.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-2240
- https://access.redhat.com/security/cve/CVE-2025-2240
- https://bugzilla.redhat.com/show_bug.cgi?id=2351452
- https://github.com/smallrye/smallrye-fault-tolerance/commit/e8bcad3d5e8bbac0a3219bd5c13661adf6ed6bbb
- https://github.com/smallrye/smallrye-fault-tolerance/pull/985
- https://github.com/smallrye/smallrye-fault-tolerance/pull/985/files#diff-88c4a089e0cb88e4bdf285490e2617c29b9979a778e33957e4448260e286b91aR299
- https://smallrye.io/blog/fault-tolerance-6-9-0
- https://access.redhat.com/errata/RHSA-2025:3376
- https://access.redhat.com/errata/RHSA-2025:3541
- https://access.redhat.com/errata/RHSA-2025:3543
- https://github.com/advisories/GHSA-gfh6-3pqw-x2j4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
