Vulnerabilities in pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin

PACKAGE
Advisory Identifier: GHSA-3fm2-hx3h-xm4v
Advisory Summary

CVE-2025-67642 is a MODERATE (CVSS 4.3) jenkins hashicorp vault plugin exposes vulnerability (CWE-282: Improper Ownership Management) affecting Hashicorp vault plugin libraries in the Maven ecosystem. The issue involves jenkins hashicorp vault plugin exposes system-scoped vault credentials. Remediation is available in the latest vendor maintenance releases.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.datapipe.jenkins.plugins/hashicorp-vault-plugin. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3fm2-hx3h-xm4v CVE-2025-67642 MODERATE Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials
GHSA-h6x7-jq46-fp33 CVE-2022-23109 MODERATE Improper credentials masking in Jenkins HashiCorp Vault Plugin
GHSA-v3fv-v9m6-26g3 CVE-2023-33001 MODERATE Jenkins HashiCorp Vault Plugin has improper masking of credentials
GHSA-vpf7-q2rx-26mh CVE-2022-36888 MODERATE Jenkins HashiCorp Vault Plugin does not perform permission checks in several HTTP endpoints that perform Vault connection tests
GHSA-fm6q-97gw-c4wh CVE-2022-25186 LOW Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin
GHSA-2587-w93g-63m2 CVE-2022-25197 MODERATE Agent-to-controller security bypass in Jenkins HashiCorp Vault Plugin allows reading arbitrary files

CVE-2025-67642 at a Glance

CVE Identifier CVE-2025-67642
GHSA Identifier GHSA-3fm2-hx3h-xm4v
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-282: Improper Ownership Management
Affected Product Hashicorp vault plugin
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-67642

To remediate this vulnerability, upgrade all affected Hashicorp vault plugin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.datapipe.jenkins.plugins:hashicorp-vault-plugin fixed: Latest secure release
<dependency>
    <groupId>com.datapipe.jenkins.plugins</groupId>
    <artifactId>hashicorp-vault-plugin</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.datapipe.jenkins.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-67642, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.datapipe.jenkins.plugins

Analyze the terminal output to locate any version of Hashicorp vault plugin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.datapipe.jenkins.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-282: Improper Ownership Management, where the product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource. In Hashicorp vault plugin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Jenkins HashiCorp Vault Plugin 371.v884a_4dd60fb_6 and earlier does not set the appropriate context for Vault credentials lookup, allowing attackers with Item/Configure permission to access and potentially capture Vault credentials they are not entitled to.

CVE-2025-67642 Affected Hashicorp vault plugin Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.datapipe.jenkins.plugins:hashicorp-vault-plugin
Maven
≤ 371

References

Frequently Asked Questions

What is CVE-2025-67642?
CVE-2025-67642 is a security vulnerability in Hashicorp vault plugin involving Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials under CWE-282: Improper Ownership Management.
Which Hashicorp vault plugin versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.datapipe.jenkins.plugins:hashicorp-vault-plugin.
What version fixes CVE-2025-67642?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is hashicorp-vault-plugin affected?
Yes, com.datapipe.jenkins.plugins:hashicorp-vault-plugin is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-67642?
CVE-2025-67642 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-67642?
CVE-2025-67642 is classified under CWE-282: Improper Ownership Management (The product assigns the wrong ownership, or does not properly verify the ownership, of an object or resource.).
How can I check Maven dependencies for CVE-2025-67642?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.datapipe.jenkins.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3fm2-hx3h-xm4v",
  "modified" : "2025-12-10T20:18:21Z",
  "published" : "2025-12-10T18:30:27Z",
  "aliases" : [ "CVE-2025-67642" ],
  "summary" : "Jenkins HashiCorp Vault Plugin exposes system-scoped Vault credentials",
  "details" : "Jenkins HashiCorp Vault Plugin 371.v884a_4dd60fb_6 and earlier does not set the appropriate context for Vault credentials lookup, allowing attackers with Item/Configure permission to access and potentially capture Vault credentials they are not entitled to.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.datapipe.jenkins.plugins:hashicorp-vault-plugin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "371"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67642"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/hashicorp-vault-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2025-12-10/#SECURITY-3045"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-282" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T20:18:21Z",
    "nvd_published_at" : "2025-12-10T17:15:56Z"
  }
}