CVE-2021-43998 json
HashiCorp Vault Incorrect Permission Assignment for Critical Resource
published 4y ago modified 2mo ago also BIT-vault-2021-43998 , EUVD-2021-2560 , GHSA-pfmw-vj74-ph8g , GO-2022-0611
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/hashicorp/vault 1.7.6, 1.8.5
- bitnami vault 1.7.6, 1.8.5
- vault Arch Linux 1.9.0-1
arch linux advisories AVG-2294
Is CVE-2021-43998 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-43998 updated cvss 6.5
vault: incorrect policy enforcement
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/rook-ceph-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat Openshift Data Foundation 4 odf4/odf-multicluster-rhel9-operatoraffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.13 openshift4/ztp-site-generate-rhel8 v4.13.0-45, openshift4/baremetal-hardware-event-proxy-rhel8 v4.13.0-21, openshift4/bare-metal-event-relay-rhel8-operator v4.13.0-42, openshift4/bare-metal-event-relay-operator-bundle v4.13.0-39, openshift4/topology-aware-lifecycle-manager-precache-rhel8 v4.13.0-45, openshift4/topology-aware-lifecycle-manager-recovery-rhel8 v4.13.0-43, +2 morefixed: vendor fix RHSA-2023:2138
-
Red Hat RHODF 4.13 for RHEL 9 odf4/odf-rhel9-operator v4.13.0-24, odf4/rook-ceph-rhel9-operator v4.13.0-70fixed: vendor fix RHSA-2023:3742
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat OpenShift Container Platform 4 openshift4/ose-installer Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odr-rhel8-operator Red Hat RHODF 4.13 for RHEL 9 odf4/cephcsi-rhel9 v4.13.0-35, odf4/mcg-cli-rhel9 v4.13.0-17, odf4/mcg-core-rhel9 v4.13.0-41, odf4/odf-console-rhel9 v4.13.0-85, odf4/mcg-rhel9-operator v4.13.0-41, odf4/ocs-rhel9-operator v4.13.0-67, +16 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | >=0.11.0, <1.7.6 >=1.8.0, <1.8.5 |
1.7.6 1.8.5 |
| bitnami | vault | >=0.11.0, <1.7.6 >=1.8.4, <1.8.5 |
1.7.6 1.8.5 |
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
security.gentoo.org
/glsa/202207-01
vendor-advisory, web, third-party-advisory, advisory
-
discuss.hashicorp.com
/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43998
advisory, web
-
github.com
/hashicorp/vault
package
-
github.com
/advisories/GHSA-pfmw-vj74-ph8g
advisory
Sources
- CVE List CVE-2021-43998
- GitHub Advisory GHSA-pfmw-vj74-ph8g
- NVD CVE-2021-43998
- OSV BIT-vault-2021-43998
- OSV GO-2022-0611
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.