{"id":"CVE-2024-8185","aliases":["GHSA-g233-2p4r-3q7v","BIT-openbao-2024-8185","BIT-vault-2024-8185","GO-2024-3246"],"title":"Hashicorp Vault vulnerable to denial of service through memory exhaustion","summary":"Hashicorp Vault vulnerable to denial of service through memory exhaustion","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"hashicorp","product":"github.com/hashicorp/vault","ecosystem":"go","affected":["github.com/hashicorp/vault >= 1.2.0, < 1.18.1","github.com/openbao/openbao < 2.0.3"],"patched":["github.com/hashicorp/vault 1.18.1","github.com/openbao/openbao 2.0.3"],"published":"2024-10-31","updated":"2026-07-27","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-g233-2p4r-3q7v","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8185"},{"url":"https://github.com/hashicorp/vault/commit/195dfca433028887973f5bd82d173d91fe9dab4a"},{"url":"https://discuss.hashicorp.com/t/hcsec-2024-26-vault-vulnerable-to-denial-of-service-through-memory-exhaustion-when-processing-raft-cluster-join-requests/71047"},{"url":"https://github.com/hashicorp/vault"},{"url":"https://openbao.org/docs/release-notes/2-0-0/#203"}],"tags":["osv","go"],"epss":0.00476,"epssPercentile":0.4031,"ingestedAt":"2026-07-27T19:08:54.696Z","slug":"CVE-2024-8185","body":"## Overview\n\nVault 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.\n\nThis 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.\n\n## Affected packages\n\n- `github.com/hashicorp/vault >= 1.2.0, < 1.18.1`\n- `github.com/openbao/openbao < 2.0.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/hashicorp/vault 1.18.1`\n- `github.com/openbao/openbao 2.0.3`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}