Lucene search

K
githubGitHub Advisory DatabaseGHSA-V3FV-V9M6-26G3
HistoryMay 16, 2023 - 6:30 p.m.

Jenkins HashiCorp Vault Plugin has improper masking of credentials

2023-05-1618:30:16
CWE-532
GitHub Advisory Database
github.com
53
jenkins hashicorp vault plugin
credential masking
build log
pipeline steps
durabletaskstep
credentials binding
security advisory

0.001 Low

EPSS

Percentile

43.0%

Jenkins HashiCorp Vault Plugin 360.v0a_1c04cf807d and earlier does not properly mask (i.e., replace with asterisks) credentials printed in the build log from Pipeline steps like sh and bat, when both of the following conditions are met:

  • The credentials are printed in build steps executing on an agent (typically inside a node block).

  • Push mode for durable task logging is enabled. This is a hidden option in Pipeline: Nodes and Processes that can be enabled through the Java system property org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep.USE_WATCHING. It is also automatically enabled by some plugins, e.g., OpenTelemetry and Pipeline Logging over CloudWatch.

An improvement in Credentials Binding 523.525.vb_72269281873 implements a workaround that applies build log masking even in affected plugins. This workaround is temporary and potentially incomplete, so it is still recommended that affected plugins be updated to resolve this issue.

As of publication of this advisory, there is no fix.

0.001 Low

EPSS

Percentile

43.0%