{"id":"CVE-2021-32074","aliases":["GHSA-4mgv-m5cm-f9h7"],"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 Ac...","published_at":"2021-05-07T04:01:29Z","modified_at":"2024-08-03T23:17:28.925Z","products":[{"slug":"github-actions","name":"GitHub Actions","category":"gitops-cicd"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.018799999728798866,"percentile":0.799049973487854,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"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.","affected_stack":[{"ecosystem":"GitHub Actions","package":"hashicorp/vault-action","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"osv","source":"GHSA-4mgv-m5cm-f9h7","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"hashicorp:vault-action","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"nvd","source":"CVE-2021-32074","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-32074","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-32074","license":"CC-BY-4.0","published_at":"2021-05-07T04:01:29Z","modified_at":"2024-08-03T23:17:28.925Z","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 Ac...","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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/pull/208"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/issues/205"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128"}]},{"provider":"nvd","source_id":"CVE-2021-32074","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault-action","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"nvd","source":"CVE-2021-32074","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-4mgv-m5cm-f9h7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4mgv-m5cm-f9h7","license":"CC-BY-4.0","published_at":"2022-05-24T19:01:50Z","modified_at":"2024-01-25T19:58:46Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-4mgv-m5cm-f9h7"}],"affected":[{"ecosystem":"GitHub Actions","package":"hashicorp/vault-action","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"osv","source":"GHSA-4mgv-m5cm-f9h7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/issues/205"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/pull/208"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/commit/3526e1be65cf8faf42d6088bc5da8bff596c718a"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-13-vault-github-action-did-not-correctly-mask-multi-line-secrets-in-output/24128"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault-action"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md"}]}],"references":[{"type":"WEB","url":"https://github.com/hashicorp/vault-action/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/pull/208"},{"type":"WEB","url":"https://github.com/hashicorp/vault-action/issues/205"},{"type":"WEB","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://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"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-32074","url":"https://www.cve.org/CVERecord?id=CVE-2021-32074","license":"CC-BY-4.0","modified_at":"2024-08-03T23:17:28.925Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-32074","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32074","relation":"self"},{"provider":"osv","source_id":"GHSA-4mgv-m5cm-f9h7","url":"https://osv.dev/vulnerability/GHSA-4mgv-m5cm-f9h7","license":"CC-BY-4.0","modified_at":"2024-01-25T19:58:46Z","relation":"self"}]}
