Incorrect Privilege Assignment Affecting github.com/hashicorp/vault/vault package, versions >=1.8.0 <=1.8.4
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMHASHICORPVAULTVAULT-1730066
- published 11 Oct 2021
- disclosed 11 Oct 2021
- credit mdgreenfield
Introduced: 11 Oct 2021
CVE-2021-42135 Open this link in a new tabHow to fix?
There is no fixed version for github.com/hashicorp/vault/vault
.
Overview
github.com/hashicorp/vault/vault is a tool for securely accessing secrets.
Affected versions of this package are vulnerable to Incorrect Privilege Assignment due to 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.
Note:
This issue has been addressed by updating the documentation to provide additional guidance regarding roleset-related policy definition.
Vault operators using the Google Cloud secrets engine, particularly running Vault 1.8.0 and above, should review their Vault policies to ensure they meet their requirements and adhere to the principle of least privilege. They should specifically look for policy with endpoints and glob usage as noted above and consider moving to a wildcard.