smallrye/smallrye-fault-tolerance · Security
SmallRye Fault Tolerance out-of-memory (OOM) issue
- GHSA ID
- GHSA-gfh6-3pqw-x2j4
- CVE ID
- CVE-2025-2240
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-1325 · Improperly Controlled Sequential Memory Allocation
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 ↗