Bug 2028193 (CVE-2021-43998)

Summary: CVE-2021-43998 vault: incorrect policy enforcement
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, jburrell, jcantril, kaycoth, muagarwa, nbecker, nobody, ocs-bugs, periklis, tnielsen, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Vault 1.7.6, Vault 1.8.5, Vault 1.9.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in HashiCorp Vault. In affected versions of HashiCorp Vault and Vault Enterprise, templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 08:41:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2028478, 2126650, 2167273, 2167279, 2167280, 2167281, 2167282, 2167283, 2167284    
Bug Blocks: 2028194    

Description Guilherme de Almeida Suckevicz 2021-12-01 17:04:17 UTC
HashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.

Reference:
https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132

Comment 6 errata-xmlrpc 2023-05-18 02:33:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

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

Comment 7 Product Security DevOps Team 2023-05-18 08:41:30 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-2021-43998

Comment 8 errata-xmlrpc 2023-06-22 19:51:34 UTC
This issue has been addressed in the following products:

  RHODF-4.13-RHEL-9

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