CVE-2025-12383: Jersey client Eclipse Jersey Has A Race Vulnerability

CRITICAL
Advisory Identifier: GHSA-7p63-w6x9-6gr7
CWE-296 CWE-362
Published
Advisory Summary

CVE-2025-12383 is a CRITICAL eclipse jersey has a race vulnerability (CWE-296: Improper Following of a Certificate's Chain of Trust) affecting Jersey client libraries in the Maven ecosystem. The issue involves eclipse jersey has a race condition. Remediation is available by upgrading affected packages to version 2.46, 3.0.17, 3.1.10.

CVE-2025-12383 at a Glance

CVE Identifier CVE-2025-12383
GHSA Identifier GHSA-7p63-w6x9-6gr7
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-296: Improper Following of a Certificate's Chain of Trust
Affected Product Jersey client
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-12383

To remediate this vulnerability, upgrade all affected Jersey client 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.glassfish.jersey.core:jersey-client fixed: 2.46
<dependency>
    <groupId>org.glassfish.jersey.core</groupId>
    <artifactId>jersey-client</artifactId>
    <version>2.46</version>
</dependency>
org.glassfish.jersey.core:jersey-client fixed: 3.0.17
<dependency>
    <groupId>org.glassfish.jersey.core</groupId>
    <artifactId>jersey-client</artifactId>
    <version>3.0.17</version>
</dependency>
org.glassfish.jersey.core:jersey-client fixed: 3.1.10
<dependency>
    <groupId>org.glassfish.jersey.core</groupId>
    <artifactId>jersey-client</artifactId>
    <version>3.1.10</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.glassfish.jersey.core

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.glassfish.jersey.core

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

Note: The mvn dependency:tree -Dincludes=org.glassfish.jersey.core 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-296: Improper Following of a Certificate's Chain of Trust, where the product does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate. In Jersey client, 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 Eclipse Jersey versions 2.45, 3.0.16, 3.1.9 a race condition can cause ignoring of critical SSL configurations - such as mutual authentication, custom key/trust stores, and other security settings. This issue may result in SSLHandshakeException under normal circumstances, but under certain conditions, it could lead to unauthorized trust in insecure servers (see PoC)

CVE-2025-12383 Affected Jersey client Versions

3 component(s)
Fixed Versions:
2.463.0.173.1.10
Product / Package Ecosystem Affected Versions Fixed Version
org.glassfish.jersey.core:jersey-client
Maven
≥ 2.45
< 2.46
All 1 versions
2.45
2.46
org.glassfish.jersey.core:jersey-client
Maven
≥ 3.0.16
< 3.0.17
All 1 versions
3.0.16
3.0.17
org.glassfish.jersey.core:jersey-client
Maven
≥ 3.1.9
< 3.1.10
All 1 versions
3.1.9
3.1.10

References

Frequently Asked Questions

What is CVE-2025-12383?
CVE-2025-12383 is a security vulnerability in Jersey client involving Eclipse Jersey has a Race Condition under CWE-296: Improper Following of a Certificate's Chain of Trust.
Which Jersey client versions are affected?
Affected versions include releases prior to 2.46, 3.0.17, 3.1.10 across affected packages: org.glassfish.jersey.core:jersey-client.
What version fixes CVE-2025-12383?
Upgrading to 2.46, 3.0.17, 3.1.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jersey-client affected?
Yes, org.glassfish.jersey.core:jersey-client is affected in releases prior to 2.46, 3.0.17, 3.1.10. Upgrade your dependency to 2.46, 3.0.17, 3.1.10 or later.
What CWE is associated with CVE-2025-12383?
CVE-2025-12383 is classified under CWE-296: Improper Following of a Certificate's Chain of Trust (The product does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate.).
How can I check Maven dependencies for CVE-2025-12383?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.glassfish.jersey.core'. 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-7p63-w6x9-6gr7",
  "modified" : "2026-02-05T15:43:36Z",
  "published" : "2025-11-18T18:32:51Z",
  "aliases" : [ "CVE-2025-12383" ],
  "summary" : "Eclipse Jersey has a Race Condition",
  "details" : "In Eclipse Jersey versions 2.45, 3.0.16, 3.1.9 a race condition can cause ignoring of critical SSL configurations - such as mutual authentication, custom key/trust stores, and other security settings. This issue may result in SSLHandshakeException under normal circumstances, but under certain conditions, it could lead to unauthorized trust in insecure servers (see PoC)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.glassfish.jersey.core:jersey-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.45"
      }, {
        "fixed" : "2.46"
      } ]
    } ],
    "versions" : [ "2.45" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.glassfish.jersey.core:jersey-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.16"
      }, {
        "fixed" : "3.0.17"
      } ]
    } ],
    "versions" : [ "3.0.16" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.glassfish.jersey.core:jersey-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.9"
      }, {
        "fixed" : "3.1.10"
      } ]
    } ],
    "versions" : [ "3.1.9" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-12383"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/pull/5749"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/pull/5794"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/commit/425bc883d8d623ef8d3c448fafd36729f7741bcb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/commit/b2c7ba6d388cb9722f39073d7e82aa818fec49d5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dtbaum/jerseyCveCandidate"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse-ee4j/jersey"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/releases/tag/2.46"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/releases/tag/3.0.17"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/releases/tag/3.1.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/jersey/releases/tag/4.0.0-M2"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignment/-/issues/74"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/253"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-296", "CWE-362" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-18T20:38:31Z",
    "nvd_published_at" : "2025-11-18T16:15:42Z"
  }
}