p PatchFirst

CVE-2025-59043

CVE-2025-59043 · OpenBao vulnerable to denial of service via malicious JSON request processing

CVSS 7.5 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o openbao

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • openbao

    Versions
    • < 2.4.1: Affected

    No fix published

  • openbao Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 2.4.1-r0

    Update to 2.4.1-r0

  • openbao Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.4.1-r0

    Update to 2.4.1-r0

  • openbao Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.4.1-r0

    Update to 2.4.1-r0

Original sources

Check your server →