CVE-2021-32074 Vault GitHub Action did not correctly mask multi-line secrets in output

High 7.5 Published Updated

Attackers can obtain sensitive secrets from log files due to improper masking of multi-line secrets in the Vault GitHub Action.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32074?

CVE-2021-32074 is a high-severity vulnerability in n/a, published on 7 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-532

Which versions are affected by CVE-2021-32074?

1 open source package ship an affected version, including hashicorp/vault-action. It affects 1 product.

PackageAffectedFixed in
hashicorp/vault-action GitHub ActionsAll versions2.2.0

Products include Hashicorp Vault-Action.

How do I fix CVE-2021-32074?

Upgrade hashicorp/vault-action to 2.2.0 or later.

Is CVE-2021-32074 being exploited?

There is no known exploitation of CVE-2021-32074 in the wild and no public exploit code.

Sources

Also known as GHSA-4mgv-m5cm-f9h7.

Is CVE-2021-32074 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free