CVE-2025-47884: Oidc provider Jenkins OpenID Connect Provider Plugin Vulnerability

CRITICAL
Advisory Identifier: GHSA-q7c3-x7hm-qq72
CVSS 9.1
CWE-284
Published
Advisory Summary

CVE-2025-47884 is a CRITICAL (CVSS 9.1) jenkins openid connect provider plugin vulnerability (CWE-284: Improper Access Control) affecting Oidc provider libraries in the Maven ecosystem. The issue involves jenkins openid connect provider plugin incorrectly validates crafted build id tokens. Remediation is available by upgrading affected packages to version 111.v29fd614b_3617.

CVE-2025-47884 at a Glance

CVE Identifier CVE-2025-47884
GHSA Identifier GHSA-q7c3-x7hm-qq72
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-284: Improper Access Control
Affected Product Oidc provider
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.1

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:C/C:L/I:H/A:L).

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

How to Fix CVE-2025-47884

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

io.jenkins.plugins:oidc-provider fixed: 111.v29fd614b_3617
<dependency>
    <groupId>io.jenkins.plugins</groupId>
    <artifactId>oidc-provider</artifactId>
    <version>111.v29fd614b_3617</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=io.jenkins.plugins

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.jenkins.plugins

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

Note: The mvn dependency:tree -Dincludes=io.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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Oidc provider, 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

In Jenkins OpenID Connect Provider Plugin 96.vee8ed882ec4d and earlier the generation of build ID Tokens uses potentially overridden values of environment variables, in conjunction with certain other plugins allowing attackers able to configure jobs to craft a build ID Token that impersonates a trusted job, potentially gaining unauthorized access to external services.

CVE-2025-47884 Affected Oidc provider Versions

1 component(s)
Fixed Versions:
111.v29fd614b_3617
Product / Package Ecosystem Affected Versions Fixed Version
io.jenkins.plugins:oidc-provider
Maven
< 111.v29fd614b_3617
111.v29fd614b_3617

References

Frequently Asked Questions

What is CVE-2025-47884?
CVE-2025-47884 is a security vulnerability in Oidc provider involving Jenkins OpenID Connect Provider Plugin Incorrectly Validates Crafted Build ID Tokens under CWE-284: Improper Access Control.
Which Oidc provider versions are affected?
Affected versions include releases prior to 111.v29fd614b_3617 across affected packages: io.jenkins.plugins:oidc-provider.
What version fixes CVE-2025-47884?
Upgrading to 111.v29fd614b_3617 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oidc-provider affected?
Yes, io.jenkins.plugins:oidc-provider is affected in releases prior to 111.v29fd614b_3617. Upgrade your dependency to 111.v29fd614b_3617 or later.
What is the CVSS score of CVE-2025-47884?
CVE-2025-47884 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L.
What CWE is associated with CVE-2025-47884?
CVE-2025-47884 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-47884?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.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-q7c3-x7hm-qq72",
  "modified" : "2025-05-16T20:13:09Z",
  "published" : "2025-05-14T21:31:20Z",
  "aliases" : [ "CVE-2025-47884" ],
  "summary" : "Jenkins OpenID Connect Provider Plugin Incorrectly Validates Crafted Build ID Tokens",
  "details" : "In Jenkins OpenID Connect Provider Plugin 96.vee8ed882ec4d and earlier the generation of build ID Tokens uses potentially overridden values of environment variables, in conjunction with certain other plugins allowing attackers able to configure jobs to craft a build ID Token that impersonates a trusted job, potentially gaining unauthorized access to external services.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.jenkins.plugins:oidc-provider"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "111.v29fd614b_3617"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 111.v29fd614b3617"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47884"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/oidc-provider-plugin/commit/29fd614b36171048ddc78a995ce44bd12bd7997d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/oidc-provider-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/oidc-provider-plugin/releases/tag/111.v29fd614b_3617"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2025-05-14/#SECURITY-3574"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-16T14:42:45Z",
    "nvd_published_at" : "2025-05-14T21:15:59Z"
  }
}