Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/global-build-stats

PACKAGE
Advisory Identifier: GHSA-gm8g-fh49-qq6v
Advisory Summary

CVE-2025-58459 is a MODERATE (CVSS 4.3) jenkins global-build-stats plugin missing permission vulnerability (CWE-284: Improper Access Control) affecting Global build stats libraries in the Maven ecosystem. The issue involves jenkins global-build-stats plugin missing permission check can result in graph ids being enumerated. Remediation is available by upgrading affected packages to version 347.v32a.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/global-build-stats

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/global-build-stats. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gm8g-fh49-qq6v CVE-2025-58459 MODERATE Jenkins global-build-stats Plugin missing permission check can result in graph IDs being enumerated
GHSA-gw8g-hh47-q4gw CVE-2017-1000389 MODERATE Cross-Site Request Forgery (CSRF) vulnerability in Jenkins global-build-stats plugin
GHSA-wj78-8xrx-phr7 CVE-2022-27207 MODERATE Stored Cross-site Scripting vulnerability in Jenkins global-build-stats Plugin

CVE-2025-58459 at a Glance

CVE Identifier CVE-2025-58459
GHSA Identifier GHSA-gm8g-fh49-qq6v
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-284: Improper Access Control
Affected Product Global build stats
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-58459

To remediate this vulnerability, upgrade all affected Global build stats 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.plugins:global-build-stats fixed: 347.v32a
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>global-build-stats</artifactId>
    <version>347.v32a</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.plugins

How to Check if You Are Affected

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

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

Analyze the terminal output to locate any version of Global build stats in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 347.v32a), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Global build stats, 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 global-build-stats Plugin 322.v22f4db_18e2dd and earlier does not perform permission checks in its REST API endpoints, allowing attackers with Overall/Read permission to enumerate graph IDs. This has been patched in version 347.v32a_eb_0493c4f.

CVE-2025-58459 Affected Global build stats Versions

1 component(s)
Fixed Versions:
347.v32a
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:global-build-stats
Maven
< 347.v32a
347.v32a

References

Frequently Asked Questions

What is CVE-2025-58459?
CVE-2025-58459 is a security vulnerability in Global build stats involving Jenkins global-build-stats Plugin missing permission check can result in graph IDs being enumerated under CWE-284: Improper Access Control.
Which Global build stats versions are affected?
Affected versions include releases prior to 347.v32a across affected packages: org.jenkins-ci.plugins:global-build-stats.
What version fixes CVE-2025-58459?
Upgrading to 347.v32a (or the latest patched release for your respective branch) resolves the vulnerability.
Is global-build-stats affected?
Yes, org.jenkins-ci.plugins:global-build-stats is affected in releases prior to 347.v32a. Upgrade your dependency to 347.v32a or later.
What is the CVSS score of CVE-2025-58459?
CVE-2025-58459 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-58459?
CVE-2025-58459 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2025-58459?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.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-gm8g-fh49-qq6v",
  "modified" : "2025-11-05T20:43:09Z",
  "published" : "2025-09-03T15:30:34Z",
  "aliases" : [ "CVE-2025-58459" ],
  "summary" : "Jenkins global-build-stats Plugin missing permission check can result in graph IDs being enumerated",
  "details" : "Jenkins global-build-stats Plugin 322.v22f4db_18e2dd and earlier does not perform permission checks in its REST API endpoints, allowing attackers with Overall/Read permission to enumerate graph IDs. \n\nThis has been patched in version 347.v32a_eb_0493c4f.",
  "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" : "org.jenkins-ci.plugins:global-build-stats"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "347.v32a"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58459"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/global-build-stats-plugin/commit/32aeb0493c4ff5423448576f477ac612f7a25138"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/global-build-stats-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2025-09-03/#SECURITY-3535"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/09/03/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-03T22:22:41Z",
    "nvd_published_at" : "2025-09-03T15:15:39Z"
  }
}