Service exhaustion via failed composition cache growth
Published Jul 9, 2024 · Updated Aug 1, 2024
Denial of service in Spring Cloud Function 4.0.0 through 4.0.7 and 4.1.0 through 4.1.1 allows remote attackers to exhaust application memory. BeanFactoryAwareFunctionRegistry.lookup accepts compositions containing nonexistent function names and repeatedly expands its registration cache when the registered-name guard is bypassed outside debug logging. Exposure requires the Web module and remotely reachable function-composition input; repeated crafted lookups eventually interrupt the application service.
Summary
What happened
Denial of service in Spring Cloud Function 4.0.0 through 4.0.7 and 4.1.0 through 4.1.1 allows remote attackers to exhaust application memory. BeanFactoryAwareFunctionRegistry.lookup accepts compositions containing nonexistent function names and repeatedly expands its registration cache when the registered-name guard is bypassed outside debug logging. Exposure requires the Web module and remotely reachable function-composition input; repeated crafted lookups eventually interrupt the application service.
The record
- CVE
- CVE-2024-22271
- Published
- Jul 9, 2024
- Updated
- Aug 1, 2024
- Vendor
- Spring
- Product
- Spring Cloud Function
- Classifications
- CWE-20, T1499.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 9, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.0.0 <4.0.8
- Affected versionversion=4.1.0 <4.1.2
- Affected versionversion=Spring Cloud Function Framework 4.1.0-4.1.2, Spring Cloud Function Framework 4.0.0-4.0.8
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo