Security mailing lists by PureSourceCode

CVE-2021-42135

HIGH 8.1CVSS 3.1

Incorrect Privilege Assignment in HashiCorp Vault

HashiCorp Vault and Vault Enterprise 1.8.x through 1.8.4 may have an unexpected interaction between glob-related policies and the Google Cloud secrets engine. Users may, in some situations, have more privileges than intended, e.g., a user with read permission for the /gcp/roleset/* path may be able to issue Google Cloud service account credentials.

Published
11 Oct 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-266CWE-269CWE-863
Also known as
BIT-vault-2021-42135GHSA-362v-wg5p-64w2GO-2022-0578
Sources
NVDJSONOSV GHSA-362v-wg5p-64w2JSONOSV GO-2022-0578JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.9 AV:N/AC:M/Au:S/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 1.8.0, <= 1.8.4
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.8.0, <= 1.8.4
OSV Go github.com/hashicorp/vault >= 1.8.0, <= 1.8.4
OSV Go github.com/hashicorp/vault >= 1.8.0, < 1.8.5 1.8.5

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 Oct 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.