CVE-2025-59043
7.5OpenBao · OpenBao
OpenBao versions prior to 2.4.1 are vulnerable to a resource exhaustion attack where crafted JSON payloads cause excessive memory consumption, leading to potential denial of service.
Executive summary
An unauthenticated remote attacker can trigger a denial of service condition in OpenBao by submitting a specially crafted JSON payload that causes uncontrolled memory consumption.
Vulnerability
This vulnerability is an instance of uncontrolled resource consumption (CWE-400) where the application deserializes JSON objects into memory without sufficient validation. Because the request body is parsed before authentication, an unauthenticated attacker can force the system to allocate excessive memory, effectively bypassing the max_request_size configuration parameter.
Business impact
The ability for an unauthenticated attacker to cause an out of memory crash directly impacts the availability of the secrets management system. Given the CVSS score of 7.5, this high severity flaw poses a significant risk to business operations, as it allows for the disruption of critical identity and secret management services without requiring user interaction or valid credentials.
Remediation
Immediate Action: Upgrade OpenBao to version 2.4.1 or later to implement the necessary fixes for JSON deserialization and resource management.
Proactive Monitoring: Monitor system logs and infrastructure metrics for frequent application crashes or sudden spikes in memory and CPU usage that correlate with incoming network requests.
Compensating Controls: Deploy a Web Application Firewall (WAF) or an API gateway configured to inspect and limit the size and complexity of incoming JSON payloads to prevent malicious requests from reaching the application backend.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Organizations utilizing OpenBao must prioritize the upgrade to version 2.4.1 to mitigate this risk. Given that the vulnerability is exploitable by unauthenticated remote parties, failure to patch leaves the identity infrastructure exposed to trivial denial of service attacks that could result in widespread operational downtime.
More OpenBao CVEs
Sources
- https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m
- https://github.com/openbao/openbao/pull/1756
- https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c
- https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50