CVE-2025-53652: Git parameter Jenkins Git Parameter Plugin Vulnerable Vulnerability

MODERATE
Advisory Identifier: GHSA-qcj2-99cg-mppf
CVSS 5.4
CWE-1287 CWE-20
Published
Advisory Summary

CVE-2025-53652 is a MODERATE (CVSS 5.4) jenkins git parameter plugin vulnerable vulnerability (CWE-1287: Improper Validation of Specified Type of Input) affecting Git parameter libraries in the Maven ecosystem. The issue involves jenkins git parameter plugin vulnerable to code injection due to inexhaustive parameter check. Remediation is available by upgrading affected packages to version 444.vca.

CVE-2025-53652 at a Glance

CVE Identifier CVE-2025-53652
GHSA Identifier GHSA-qcj2-99cg-mppf
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-1287: Improper Validation of Specified Type of Input
Affected Product Git parameter
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.4

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:L/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 Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-53652

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

org.jenkins-ci.tools:git-parameter fixed: 444.vca
<dependency>
    <groupId>org.jenkins-ci.tools</groupId>
    <artifactId>git-parameter</artifactId>
    <version>444.vca</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=org.jenkins-ci.tools

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.jenkins-ci.tools

Analyze the terminal output to locate any version of Git parameter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 444.vca), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.tools 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-1287: Improper Validation of Specified Type of Input, where the product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type. In Git parameter, 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 Git Parameter Plugin implements a choice build parameter that lists the configured Git SCM’s branches, tags, pull requests, and revisions. Git Parameter Plugin 439.vb_0e46ca_14534 and earlier does not validate that the Git parameter value submitted to the build matches one of the offered choices. This allows attackers with Item/Build permission to inject arbitrary values into Git parameters. Git Parameter Plugin 444.vca_b_84d3703c2 validates that the Git parameter value submitted to the build matches one of the offered choices.

CVE-2025-53652 Affected Git parameter Versions

1 component(s)
Fixed Versions:
444.vca
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.tools:git-parameter
Maven
< 444.vca
444.vca

References

Frequently Asked Questions

What is CVE-2025-53652?
CVE-2025-53652 is a security vulnerability in Git parameter involving Jenkins Git Parameter Plugin vulnerable to code injection due to inexhaustive parameter check under CWE-1287: Improper Validation of Specified Type of Input.
Which Git parameter versions are affected?
Affected versions include releases prior to 444.vca across affected packages: org.jenkins-ci.tools:git-parameter.
What version fixes CVE-2025-53652?
Upgrading to 444.vca (or the latest patched release for your respective branch) resolves the vulnerability.
Is git-parameter affected?
Yes, org.jenkins-ci.tools:git-parameter is affected in releases prior to 444.vca. Upgrade your dependency to 444.vca or later.
What is the CVSS score of CVE-2025-53652?
CVE-2025-53652 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2025-53652?
CVE-2025-53652 is classified under CWE-1287: Improper Validation of Specified Type of Input (The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.).
How can I check Maven dependencies for CVE-2025-53652?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.tools'. 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-qcj2-99cg-mppf",
  "modified" : "2025-11-05T19:58:56Z",
  "published" : "2025-07-09T18:30:45Z",
  "aliases" : [ "CVE-2025-53652" ],
  "summary" : "Jenkins Git Parameter Plugin vulnerable to code injection due to inexhaustive parameter check",
  "details" : "Jenkins Git Parameter Plugin implements a choice build parameter that lists the configured Git SCM’s branches, tags, pull requests, and revisions.\n\nGit Parameter Plugin 439.vb_0e46ca_14534 and earlier does not validate that the Git parameter value submitted to the build matches one of the offered choices.\n\nThis allows attackers with Item/Build permission to inject arbitrary values into Git parameters.\n\nGit Parameter Plugin 444.vca_b_84d3703c2 validates that the Git parameter value submitted to the build matches one of the offered choices.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.tools:git-parameter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "444.vca"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53652"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/git-parameter-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2025-07-09/#SECURITY-3419"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/07/09/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1287", "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-09T20:47:01Z",
    "nvd_published_at" : "2025-07-09T16:15:24Z"
  }
}