Bug 2181405 (CVE-2022-40186) - CVE-2022-40186 vault: Vault Entity Alias Metadata May Leak Between Aliases With The Same Name Assigned To The Same Entity
Summary: CVE-2022-40186 vault: Vault Entity Alias Metadata May Leak Between Aliases Wi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-40186
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2181418 2181419 2181420 2181421 2181422
Blocks: 2181363
TreeView+ depends on / blocked
 
Reported: 2023-03-24 03:38 UTC by Avinash Hanwate
Modified: 2023-04-26 15:09 UTC (History)
8 users (show)

Fixed In Version: vault 1.11.3, vault 1.10.6, vault 1.9.9
Doc Type: ---
Doc Text:
A flaw was found in HashiCorp Vault and Vault Enterprise, where they could allow a locally authenticated attacker to gain unauthorized access to the system, caused by a flaw in the alias naming schema implementation for mount accessors with shared alias names in the Identity Engine. By conducting a specially-crafted operation, an attacker can overwrite metadata to the wrong alias, gaining unauthorized access to key/value paths using the metadata in Vault.
Clone Of:
Environment:
Last Closed: 2023-04-26 15:09:58 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2023 0 None None None 2023-04-26 10:01:19 UTC

Description Avinash Hanwate 2023-03-24 03:38:24 UTC
An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3. A vulnerability in the Identity Engine was found where, in a deployment where an entity has multiple mount accessors with shared alias names, Vault may overwrite metadata to the wrong alias due to an issue with checking the proper alias assigned to an entity. This may allow for unintended access to key/value paths using that metadata in Vault.

https://discuss.hashicorp.com/t/hcsec-2022-18-vault-entity-alias-metadata-may-leak-between-aliases-with-the-same-name-assigned-to-the-same-entity/44550
https://discuss.hashicorp.com
https://security.netapp.com/advisory/ntap-20221111-0008/

Comment 2 errata-xmlrpc 2023-04-26 10:01:18 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Data Foundation 4.11 on RHEL8

Via RHSA-2023:2023 https://access.redhat.com/errata/RHSA-2023:2023

Comment 3 Product Security DevOps Team 2023-04-26 15:09:56 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-40186


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