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

Published Nov 9, 2023
·
Updated

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.

Other sources

Summary Vault and Vault Enterprise (“Vault”) 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. This vulnerability, CVE-2023-5954, is fixed in Vault 1.15.2, 1.14.6, and 1.13.10.

Background Policies 1 provide a declarative way to define what can and cannot be accessed in Vault, and are used to authorize inbound client requests as described in Vault’s architecture documentation 1.

Details An excessive memory consumption issue was introduced in Vault 1.15.0, 1.14.3, and 1.13.7 where inbound client requests triggering a policy check create a logger that is never removed from memory.

The side effect of this issue is an unbounded consumption of memory until out-of-memory processes are triggered by the operating system. Since the issue occurs on requests the memory growth is proportional to the volume of requests, and may result in denial-of-service.

Operators may have experienced increased memory usage after upgrading Vault to one of the affected versions above. This excessive memory consumption is more prevalent in Vault Enterprise.

Red Hat

Affected Software

12 affected componentsFixes available
go/github.com/hashicorp/vault>=1.15.0<1.15.2
1.15.2
go/github.com/hashicorp/vault>=1.14.0<1.14.6
1.14.6
go/github.com/hashicorp/vault<1.13.10
1.13.10
HashiCorp Vault>=1.13.7<1.13.10
HashiCorp Vault>=1.13.7<1.13.10
HashiCorp Vault>=1.14.3<1.14.6
HashiCorp Vault>=1.14.3<1.14.6
HashiCorp Vault>=1.15.0<1.15.2
HashiCorp Vault>=1.15.0<1.15.2
redhat/Vault<1.15.2
1.15.2
redhat/Vault<1.14.6
1.14.6
redhat/Vault<1.13.10
1.13.10

Event History

Nov 9, 2023
CVE Published
08:13 PM
Data Sourced
08:13 PM
DescriptionSeverityWeakness
Advisory Published
09:30 PM

Frequently Asked Questions

1

What is CVE-2023-5954?

CVE-2023-5954 is a vulnerability in HashiCorp Vault and Vault Enterprise that allows inbound client requests triggering a policy check to consume an unbounded amount of memory, potentially leading to denial-of-service.

2

What is the severity of CVE-2023-5954?

CVE-2023-5954 has a severity rating of medium with a severity value of 5.9.

3

How can I fix CVE-2023-5954?

To fix CVE-2023-5954, update to Vault version 1.15.2, 1.14.6, or 1.13.10.

4

Where can I find more information about CVE-2023-5954?

More information about CVE-2023-5954 can be found at the following references: [HashiCorp Discuss](https://discuss.hashicorp.com/t/hcsec-2023-33-vault-requests-triggering-policy-checks-may-lead-to-unbounded-memory-consumption/59926), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5954), [GitHub Security Advisory](https://github.com/advisories/GHSA-4qhc-v8r6-8vwm).

5

What is the Common Weakness Enumeration (CWE) ID related to CVE-2023-5954?

The Common Weakness Enumeration (CWE) ID related to CVE-2023-5954 is CWE-401.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203