Vault Vulnerable to Denial of Service When Processing Raft Join Requests
HashiCorp Vault · HashiCorp Vault Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/hashicorp/vault Go |
|
|
| github.com/openbao/openbao Go |
|
|
HashiCorp Vault · HashiCorp Vault Enterprise
| Product | Affected | Fixed in |
|---|---|---|
| github.com/hashicorp/vault Go |
|
|
| github.com/openbao/openbao Go |
|
|
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.
From the CVE record · HashiCorp
Vault Community and Vault Enterprise clusters using Integrated Storage are vulnerable to memory exhaustion through the Raft cluster join API endpoint. An attacker who can send a large volume of requests to that endpoint may cause excessive memory use and potentially crash Vault and the underlying system. The input does not specify whether authentication or user interaction is required.
Operators of affected Vault Community or Vault Enterprise clusters should check their versions; the Go packages github.com/hashicorp/vault >=1.2.0 and <1.18.1 and github.com/openbao/openbao <2.0.3 are also listed as affected.