What’s Vulnerable › Vulnerabilities
CVE-2021-32074
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-05-07 · updated 2026-06-17
- Weakness: CWE-532
Description
HashiCorp vault-action (aka Vault GitHub Action) before 2.2.0 allows attackers to obtain sensitive information from log files because a multi-line secret was not correctly registered with GitHub Actions for log masking.
Affected products
- HashiCorp Vault-Action: from 0.1.0 before 2.2.0 — fixed in 2.2.0
How to fix
Upgrade to a fixed version: HashiCorp Vault-Action 2.2.0. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128
- https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md
- https://github.com/hashicorp/vault-action/issues/205
- https://github.com/hashicorp/vault-action/pull/208
- https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128
- https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md
- https://github.com/hashicorp/vault-action/issues/205
- https://github.com/hashicorp/vault-action/pull/208
Get alerted when CVE-2021-32074 or the next vulnerability affects your stack