GHSA-v3fv-v9m6-26g3

Suggest an improvement
Source
https://github.com/advisories/GHSA-v3fv-v9m6-26g3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-v3fv-v9m6-26g3/GHSA-v3fv-v9m6-26g3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-v3fv-v9m6-26g3
Aliases
  • CVE-2023-33001
Published
2023-05-16T18:30:16Z
Modified
2023-11-07T05:36:30.776085Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Jenkins HashiCorp Vault Plugin has improper masking of credentials
Details

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.

Database specific
{
    "nvd_published_at": "2023-05-16T17:15:12Z",
    "cwe_ids": [
        "CWE-532"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-17T03:36:48Z"
}
References

Affected packages

Maven / com.datapipe.jenkins.plugins:hashicorp-vault-plugin

Package

Name
com.datapipe.jenkins.plugins:hashicorp-vault-plugin
View open source insights on deps.dev
Purl
pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
360.v0a

Affected versions

1.*

1.0
1.1
1.2
1.3
1.4

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.4.0
2.5.0

3.*

3.0.0
3.1.0
3.1.1
3.2.0
3.3.0
3.4.0
3.4.1
3.5.0
3.6.0
3.6.1
3.7.0
3.8.0

336.*

336.v182c0fbaaeb7

351.*

351.vdb_f83a_1c6a_9d

354.*

354.vdb_858fd6b_f48

355.*

355.v3b_38d767a_b_a_8

356.*

356.ved18810a_b_828

359.*

359.v2da_3b_45f17d5