Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/oic-auth

PACKAGE
Advisory Identifier: GHSA-q9cm-88jx-3vfw
Advisory Summary

CVE-2025-24399 is a HIGH (CVSS 8.8) improper handling of case sensitivity vulnerability (CWE-276: Incorrect Default Permissions) affecting Oic auth libraries in the Maven ecosystem. The issue involves improper handling of case sensitivity in jenkins openid connect authentication plugin. Remediation is available by upgrading affected packages to version 4.453.v4d7765c854f4.

8 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/oic-auth

8 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-q9cm-88jx-3vfw CVE-2025-24399 HIGH Improper handling of case sensitivity in Jenkins OpenId Connect Authentication Plugin
GHSA-6r5w-jjr5-qvgr CVE-2023-50770 MODERATE Password stored in a recoverable format by Jenkins OpenId Connect Authentication Plugin
GHSA-9qv8-7jfq-73j2 CVE-2023-50771 MODERATE Open redirect vulnerability in Jenkins OpenId Connect Authentication Plugin
GHSA-h23j-73ww-7594 CVE-2024-52553 HIGH Session fixation vulnerability in Jenkins OpenId Connect Authentication Plugin
GHSA-8pjw-fff6-3mjv CVE-2024-47807 CRITICAL Jenkins OpenId Connect Authentication Plugin lacks issuer claim validation
GHSA-49hx-9mm2-7675 CVE-2024-47806 CRITICAL Jenkins OpenId Connect Authentication Plugin lacks audience claim validation
GHSA-3858-58w9-wpcg CVE-2019-1003021 MODERATE Jenkins OpenId Connect Authentication Plugin showed plain text client secret in configuration form
GHSA-vxmh-p52j-h33m CVE-2023-24424 HIGH Session fixation vulnerability in Jenkins OpenId Connect Authentication Plugin

CVE-2025-24399 at a Glance

CVE Identifier CVE-2025-24399
GHSA Identifier GHSA-q9cm-88jx-3vfw
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-276: Incorrect Default Permissions
Affected Product Oic auth
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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 High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-24399

To remediate this vulnerability, upgrade all affected Oic auth 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:oic-auth fixed: 4.453.v4d7765c854f4
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>oic-auth</artifactId>
    <version>4.453.v4d7765c854f4</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-24399, 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 Oic auth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.453.v4d7765c854f4), 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-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Oic auth, 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

The Jenkins OpenId Connect Authentication Plugin 4.452.v2849b_d3945fa_ and earlier treats usernames as case-insensitive. On a Jenkins instance configured with a case-sensitive OpenID Connect provider, this allows attackers to log in as any user by providing a username that differs only in letter case, potentially gaining administrator access to Jenkins. OpenId Connect Authentication Plugin 4.453.v4d7765c854f4 introduces an advanced configuration option to manage username case sensitivity, with default to case-sensitive.

CVE-2025-24399 Affected Oic auth Versions

1 component(s)
Fixed Versions:
4.453.v4d7765c854f4
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:oic-auth
Maven
< 4.453.v4d7765c854f4
4.453.v4d7765c854f4

References

Frequently Asked Questions

What is CVE-2025-24399?
CVE-2025-24399 is a security vulnerability in Oic auth involving Improper handling of case sensitivity in Jenkins OpenId Connect Authentication Plugin under CWE-276: Incorrect Default Permissions.
Which Oic auth versions are affected?
Affected versions include releases prior to 4.453.v4d7765c854f4 across affected packages: org.jenkins-ci.plugins:oic-auth.
What version fixes CVE-2025-24399?
Upgrading to 4.453.v4d7765c854f4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oic-auth affected?
Yes, org.jenkins-ci.plugins:oic-auth is affected in releases prior to 4.453.v4d7765c854f4. Upgrade your dependency to 4.453.v4d7765c854f4 or later.
What is the CVSS score of CVE-2025-24399?
CVE-2025-24399 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-24399?
CVE-2025-24399 is classified under CWE-276: Incorrect Default Permissions (During installation, installed file permissions are set to allow anyone to modify those files.).
How can I check Maven dependencies for CVE-2025-24399?
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-q9cm-88jx-3vfw",
  "modified" : "2025-03-19T15:19:39Z",
  "published" : "2025-01-22T18:31:55Z",
  "aliases" : [ "CVE-2025-24399" ],
  "summary" : "Improper handling of case sensitivity in Jenkins OpenId Connect Authentication Plugin ",
  "details" : "The Jenkins OpenId Connect Authentication Plugin 4.452.v2849b_d3945fa_ and earlier treats usernames as case-insensitive.\n\nOn a Jenkins instance configured with a case-sensitive OpenID Connect provider, this allows attackers to log in as any user by providing a username that differs only in letter case, potentially gaining administrator access to Jenkins.\n\nOpenId Connect Authentication Plugin 4.453.v4d7765c854f4 introduces an advanced configuration option to manage username case sensitivity, with default to case-sensitive.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:oic-auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.453.v4d7765c854f4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24399"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/oic-auth-plugin/commit/4d7765c854f4f5e6e3c26ed950a26042a7527875"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/oic-auth-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2025-01-22/#SECURITY-3461"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-178", "CWE-276" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-22T19:23:59Z",
    "nvd_published_at" : "2025-01-22T17:15:13Z"
  }
}