[JENKINS:SECURITY-3075] Improper masking of credentials in multiple plugins

Severity Medium
Affected Packages 6
Fixed Packages 4
CVEs 3

Multiple plugins do 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 following plugins are affected by this vulnerability:

  • Kubernetes 3909.v1f2c633e8590 and earlier (SECURITY-3079 / CVE-2023-30513)
  • Azure Key Vault 187.va_cd5fecd198a_ and earlier (SECURITY-3051 / CVE-2023-30514)
  • Thycotic DevOps Secrets Vault 1.0.0 (SECURITY-3078 / CVE-2023-30515)

The following plugins have been updated to properly mask credentials in the build log when push mode for durable task logging is enabled:

  • Kubernetes 3910.ve59cec5e33ea_ (SECURITY-3079 / CVE-2023-30513)
  • Azure Key Vault 188.vf46b_7fa_846a_1 (SECURITY-3051 / CVE-2023-30514)

As of publication of this advisory, there is no fix available for the following plugin:

  • Thycotic DevOps Secrets Vault 1.0.0 (SECURITY-3078 / CVE-2023-30515)

NOTE: An improvement in https://plugins.jenkins.io/credentials-binding/[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.

ID
JENKINS:SECURITY-3075
Severity
medium
Published
2023-04-12T00:00:00
(17 months ago)
Modified
2023-04-12T00:00:00
(17 months ago)
Rights
Jenkins Security Team
Other Advisories
Source # ID Name URL
Plugin repository kubernetes repository https://github.com/jenkinsci/kubernetes-plugin
Plugin repository azure-keyvault repository https://github.com/jenkinsci/azure-keyvault-plugin
Plugin repository thycotic-devops-secrets-vault repository https://github.com/jenkinsci/thycotic-devops-secrets-vault-plugin
Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:maven/org.jenkins-ci.plugins/thycotic-devops-secrets-vault org.jenkins-ci.plugins thycotic-devops-secrets-vault <= 1.0.0
Affected pkg:maven/org.jenkins-ci.plugins/kubernetes org.jenkins-ci.plugins kubernetes <= 3909.v1f2c633e8590
Fixed pkg:maven/org.jenkins-ci.plugins/kubernetes org.jenkins-ci.plugins kubernetes = 3910.ve59cec5e33ea_
Affected pkg:maven/org.jenkins-ci.plugins/azure-keyvault org.jenkins-ci.plugins azure-keyvault <= 187.va_cd5fecd198a_
Fixed pkg:maven/org.jenkins-ci.plugins/azure-keyvault org.jenkins-ci.plugins azure-keyvault = 188.vf46b_7fa_846a_1
Affected pkg:github/jenkinsci/thycotic-devops-secrets-vault-plugin jenkinsci thycotic-devops-secrets-vault-plugin <= 1.0.0
Affected pkg:github/jenkinsci/kubernetes-plugin jenkinsci kubernetes-plugin <= 3909.v1f2c633e8590
Fixed pkg:github/jenkinsci/kubernetes-plugin jenkinsci kubernetes-plugin = 3910.ve59cec5e33ea_
Affected pkg:github/jenkinsci/azure-keyvault-plugin jenkinsci azure-keyvault-plugin <= 187.va_cd5fecd198a_
Fixed pkg:github/jenkinsci/azure-keyvault-plugin jenkinsci azure-keyvault-plugin = 188.vf46b_7fa_846a_1
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...