🛡️ CVE-2021-32074 — vault-action

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-532 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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.

The 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.

Remediation:

Customers 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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

CVE-2021-32074 is classified as CWE-532: Insertion of Sensitive Information into Log File. Sensitive values are written to logs, which are typically kept longer and read more widely than the data warrants.

Affected software

CVE-2021-32074 is recorded against 1 package.

  • hashicorp/vault-action (fixed in 2.2.0)

Timeline and source

Published on 24 May 2022 and last revised on 25 January 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
discuss.hashicorp.com (Web)
github.com (Package)
github.com (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE CWE-532
Public Exploit ✅ No
Source OSV
Published 2022-05-24
Updated 2026-08-12
Modified 2024-01-25
Fix URL N/A

Affected Packages

Software From version Fixed in
hashicorp/vault-action 2.2.0

Site Security Check

Is vault-action part of your stack?

CVE-2021-32074 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.