Bug 2249115 (CVE-2023-5954) - CVE-2023-5954 vault: inbound client requests can trigger a denial of service
Summary: CVE-2023-5954 vault: inbound client requests can trigger a denial of service
Keywords:
Status: NEW
Alias: CVE-2023-5954
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2249116 2249117 2249118 2249119 2249120 2249121
Blocks: 2249113
TreeView+ depends on / blocked
 
Reported: 2023-11-10 19:09 UTC by Robb Gatica
Modified: 2024-12-04 18:29 UTC (History)
11 users (show)

Fixed In Version: Vault 1.15.2, Vault 1.14.6, Vault 1.13.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:3718 0 None None None 2024-10-01 17:30:28 UTC

Description Robb Gatica 2023-11-10 19:09:31 UTC
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.

Comment 2 errata-xmlrpc 2024-10-01 17:30:27 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.17

Via RHSA-2024:3718 https://access.redhat.com/errata/RHSA-2024:3718


Note You need to log in before you can comment on or make changes to this bug.