CVE-2021-32074 json
Vault GitHub Action did not correctly mask multi-line secrets in output
published 5y ago modified 4mo ago also EUVD-2022-2409 , GHSA-4mgv-m5cm-f9h7
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github-actions hashicorp/vault-action 2.2.0
- hashicorp vault-action 2.2.0
- github.com/hashicorp/vault-action@3526e1b commit
- github.com/hashicorp/vault-action#208 pull request
Is CVE-2021-32074 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/hashicorp/vault-action/issues/205 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| github-actions | hashicorp/vault-action | <2.2.0 |
2.2.0 |
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/hashicorp/vault-action/pull/208
web, patch, third-party-advisory
-
github.com
/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a
web
-
github.com
/hashicorp/vault-action/issues/205
web, exploit, third-party-advisory
-
discuss.hashicorp.com
/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128
web, vendor-advisory
-
github.com
/hashicorp/vault-action/blob/master/CHANGELOG.md
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32074
advisory
-
github.com
/hashicorp/vault-action
package
Sources
- CVE List CVE-2021-32074
- GitHub Advisory GHSA-4mgv-m5cm-f9h7
- NVD CVE-2021-32074
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.