high7.5
CVE-2024-8185
Hashicorp Vault vulnerable to denial of service through memory exhaustion
Impact
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 | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | >= 1.2.0, < 1.18.1 | 1.18.1 |
| go | github.com/openbao/openbao | < 2.0.3 | 2.0.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Vault | from 1.2.0 before 1.16.12 from 1.2.0 before 1.18.1 from 1.17.0 before 1.17.8 Version 1.18.0 |
| Openbao | Openbao | before 2.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-g233-2p4r-3q7v
- https://nvd.nist.gov/vuln/detail/CVE-2024-8185
- https://github.com/hashicorp/vault/commit/195dfca433028887973f5bd82d173d91fe9dab4a
- https://openbao.org/docs/release-notes/2-0-0/#203