Skip to main content
← All vulnerabilities
CVE-2025-59043GO-2025-4039BIT-OPENBAO-2025-59043GHSA-G46H-2RQ9-GW5M

OpenBao vulnerable to denial of service via malicious JSON request processing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

OpenBao is an open source identity-based secrets management system. In OpenBao versions prior to 2.4.1, JSON objects after decoding may use significantly more memory than their serialized version. It is possible to craft a JSON payload to maximize the factor between serialized memory usage and deserialized memory usage, similar to a zip bomb, with factors reaching approximately 35. This can be used to circumvent the max_request_size configuration parameter which is intended to protect against denial of service attacks. The request body is parsed into a map very early in the request handling chain before authentication, which means an unauthenticated attacker can send a specifically crafted JSON object and cause an out-of-memory crash. Additionally, for requests with large numbers of strings, the audit subsystem can consume large quantities of CPU. The vulnerability is fixed in version 2.4.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • openbao openbao

    fixed in 2.4.1

  • github.com/openbao/openbaoGo

    All versions

  • github.com/openbao/openbaoGo

    fixed in 2.4.1

References 4

GitHub · openbao/openbao