{"id":"CVE-2021-32074","aliases":["GHSA-4mgv-m5cm-f9h7"],"url":"https://o3.security/vulnerability/CVE-2021-32074","summary":"Vault GitHub Action did not correctly mask multi-line secrets in output","details":"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.\n\nThe vault-action implementation did not correctly handle the marking of multi-line variables. As a result, multi-line secrets were not correctly masked in vault-action output.\n\nRemediation:\nCustomers using vault-action should evaluate the risk associated with this issue, and consider upgrading to vault-action 2.2.0 or newer. Please refer to https://github.com/marketplace/actions/hashicorp-vault for more information.","published":"2021-05-07T05:15:08.153Z","modified":"2026-10-20T10:54:41.649075215Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.0188,"percentile":0.77562,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"GitHub Actions","name":"hashicorp/vault-action","fixedVersion":"2.2.0"}],"fix":{"url":"https://github.com/hashicorp/vault-action/pull/208","label":"hashicorp/vault-action#208"},"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128"},{"type":"ADVISORY","url":"https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md"},{"type":"FIX","url":"https://github.com/hashicorp/vault-action/pull/208"},{"type":"EVIDENCE","url":"https://github.com/hashicorp/vault-action/issues/205"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault-action"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:54:41.649075215Z"}}