CVE-2021-32074
HIGH 7.5CVSS 3.1Vault GitHub Action did not correctly mask multi-line secrets in output
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.
- Published
- 7 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-532
- Also known as
- GHSA-4mgv-m5cm-f9h7
- Sources
- NVDJSONOSV GHSA-4mgv-m5cm-f9h7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vault-actioncpe:2.3:a:hashicorp:vault-action:*:*:*:*:*:*:*:* |
>= 0.1.0, < 2.2.0 | 2.2.0 |
| OSV | GitHub Actions | hashicorp/vault-action | < 2.2.0 | 2.2.0 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128 · Vendor Advisory, WEB
- https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md · Third Party Advisory, WEB
- https://github.com/hashicorp/vault-action/issues/205 · Exploit, Third Party Advisory, WEB
- https://github.com/hashicorp/vault-action/pull/208 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32074 · ADVISORY
- https://github.com/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a · WEB
- https://github.com/hashicorp/vault-action · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 May 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)