CVE-2025-59043
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2025-59043",
"sourceIdentifier": "[email protected]",
"published": "2025-10-17T16:15:38.763",
"lastModified": "2026-10-19T16:10:00.260",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "OpenBao es un sistema de gestión de secretos de código abierto basado en identidad. En versiones de OpenBao anteriores a la 2.4.1, los objetos JSON después de la decodificación pueden usar significativamente más memoria que su versión serializada. Es posible crear una carga útil JSON para maximizar el factor entre el uso de memoria serializada y el uso de memoria deserializada, similar a una bomba zip, con factores que alcanzan aproximadamente 35. Esto puede usarse para eludir el parámetro de configuración max_request_size, que está destinado a proteger contra ataques de denegación de servicio. El cuerpo de la solicitud se analiza en un mapa muy temprano en la cadena de manejo de solicitudes antes de la autenticación, lo que significa que un atacante no autenticado puede enviar un objeto JSON específicamente diseñado y causar un fallo por falta de memoria. Además, para solicitudes con un gran número de cadenas, el subsistema de auditoría puede consumir grandes cantidades de CPU. La vulnerabilidad se corrige en la versión 2.4.1."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "openbao",
"product": "openbao",
"versions": [
{
"version": "< 2.4.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-17T17:22:38.221939Z",
"id": "CVE-2025-59043",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-400"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*",
"versionEndExcluding": "2.4.1",
"matchCriteriaId": "542C558D-BFC0-4CC6-B683-74E4DFB31A30"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50",
"source": "[email protected]",
"tags": [
"Product"
]
},
{
"url": "https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/openbao/openbao/pull/1756",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
}
]
}