{"id":"CVE-2021-32074","aliases":["CVE-2021-32074","GHSA-4mgv-m5cm-f9h7"],"related":[],"kind":"vulnerability","state":"published","title":"Vault GitHub Action did not correctly mask multi-line secrets in output","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"HashiCorp vault-action (también se conoce como Vault GitHub Action) versiones anteriores a 2.2.0, permite a atacantes conseguir información confidencial de archivos de registro porque un secreto de múltiples líneas no fue registrado correctamente con GitHub Actions para el enmascaramiento de registros","source":"nvd"}],"published":"2021-05-07T04:01:29.000Z","modified":"2026-06-17T03:52:45.423Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.2.0"}],"ecosystem":"GitHub Actions","package":"hashicorp/vault-action","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.1.0","fixed":"2.2.0"}],"vendor":"hashicorp","product":"vault-action","cpe":"cpe:2.3:a:hashicorp:vault-action:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hashicorp/vault-action/pull/208","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hashicorp/vault-action/issues/205","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/vault-action","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32074","url":"https://www.cve.org/CVERecord?id=CVE-2021-32074","licence":"CVE Terms of Use","modified":"2024-08-03T23:17:28.925Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4mgv-m5cm-f9h7","url":"https://github.com/advisories/GHSA-4mgv-m5cm-f9h7","licence":"CC-BY-4.0","modified":"2024-01-25T19:58:46.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32074","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074","licence":"Public domain","modified":"2026-06-17T03:52:45.423Z"}],"updatedAt":"2026-11-25T22:58:01.190Z","epss":{"score":0.0188,"percentile":0.80057,"date":"2026-12-01T12:00:22.000Z"}}