CVE-2025-12383: Jersey client Eclipse Jersey Has A Race Vulnerability
CRITICALCVE-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
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.
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>2.46</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>3.0.17</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>3.1.10</version>
</dependency>
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
CVE-2025-12383 Affected Jersey client Versions
3 component(s)| 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?
Which Jersey client versions are affected?
What version fixes CVE-2025-12383?
Is jersey-client affected?
What CWE is associated with CVE-2025-12383?
How can I check Maven dependencies for CVE-2025-12383?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}