GitHub Advisory Database
GHSA-6p62-6cg9-f5f5
Memory exhaustion in HashiCorp Vault
Details
HashiCorp Vault and Vault Enterprise 1.12.0 and newer are vulnerable to a denial of service through memory exhaustion of the host when handling large unauthenticated and authenticated HTTP requests from a client. Vault will attempt to map the request to memory, resulting in the exhaustion of available memory on the host, which may cause Vault to crash.
Fixed in Vault 1.15.4, 1.14.8, 1.13.12.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/vault | From 1.15.0 before 1.15.4 (fixed in 1.15.4) |
| Go | github.com/hashicorp/vault | From 1.14.0 before 1.14.8 (fixed in 1.14.8) |
| Go | github.com/hashicorp/vault | From 1.12.0 before 1.13.12 (fixed in 1.13.12) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-6337
- https://github.com/hashicorp/vault/pull/24354
- https://discuss.hashicorp.com/t/hcsec-2023-34-vault-vulnerable-to-denial-of-service-through-memory-exhaustion-when-handling-large-http-requests/60741
- https://github.com/hashicorp/vault
- https://security.netapp.com/advisory/ntap-20240112-0006