GitHub Advisory Database
GHSA-g233-2p4r-3q7v
Hashicorp Vault vulnerable to denial of service through memory exhaustion
Details
Vault Community and Vault Enterprise (“Vault”) clusters using Vault’s Integrated Storage backend are vulnerable to a denial-of-service (DoS) attack through memory exhaustion through a Raft cluster join API endpoint. An attacker may send a large volume of requests to the endpoint which may cause Vault to consume excessive system memory resources, potentially leading to a crash of the underlying system and the Vault process itself.
This vulnerability, CVE-2024-8185, is fixed in Vault Community 1.18.1 and Vault Enterprise 1.18.1, 1.17.8, and 1.16.12.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/vault | From 1.2.0 before 1.18.1 (fixed in 1.18.1) |
| Go | github.com/openbao/openbao | All versions before 2.0.3 (fixed in 2.0.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8185
- https://github.com/hashicorp/vault/commit/195dfca433028887973f5bd82d173d91fe9dab4a
- https://discuss.hashicorp.com/t/hcsec-2024-26-vault-vulnerable-to-denial-of-service-through-memory-exhaustion-when-processing-raft-cluster-join-requests/71047
- https://github.com/hashicorp/vault
- https://openbao.org/docs/release-notes/2-0-0/#203