Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/vault
  4. ›
  5. CVE-2021-43998

CVE-2021-43998: Incorrect Permission Assignment for Critical Resource

December 2, 2021

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.

References

  • github.com/advisories/GHSA-pfmw-vj74-ph8g
  • nvd.nist.gov/vuln/detail/CVE-2021-43998

Code Behaviors & Features

Detect and mitigate CVE-2021-43998 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions after 0.11.0 before 1.7.6, all versions starting from 1.8.0 before 1.8.5

Fixed versions

  • 1.7.6
  • 1.8.5

Solution

Upgrade to versions 1.7.6, 1.8.5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

go/github.com/hashicorp/vault/CVE-2021-43998.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.