CVE-2025-67505: Okta sdk root Race Condition Vulnerability

HIGH
Advisory Identifier: GHSA-j5gq-897m-2rff
CVSS 8.4
CWE-362
Published
Advisory Summary

CVE-2025-67505 is a HIGH (CVSS 8.4) race condition vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Okta sdk root libraries in the Maven ecosystem. The issue involves race condition in the okta java sdk. Remediation is available by upgrading affected packages to version 20.0.1.

CVE-2025-67505 at a Glance

CVE Identifier CVE-2025-67505
GHSA Identifier GHSA-j5gq-897m-2rff
Severity HIGH
CVSS v3.1 Base Score 8.4
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Okta sdk root
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L).

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

How to Fix CVE-2025-67505

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

com.okta.sdk:okta-sdk-root fixed: 20.0.1
<dependency>
    <groupId>com.okta.sdk</groupId>
    <artifactId>okta-sdk-root</artifactId>
    <version>20.0.1</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=com.okta.sdk

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.okta.sdk

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

Note: The mvn dependency:tree -Dincludes=com.okta.sdk 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Okta sdk root, 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

### Description In the Okta Java SDK, race conditions may arise from concurrent requests using the ApiClient class. This could cause a status code or response header from one request’s response to influence another request’s response. ### Affected product and versions You may be affected if you meet the following preconditions: - Using the Okta Java SDK between versions 11.0.0 and 20.0.0, and - Implementing a multithreaded application with the ApiClient class where the response status code is used in access control flows ### Resolution Upgrade Okta/okta-sdk-java to versions 21.0.0 or greater.

CVE-2025-67505 Affected Okta sdk root Versions

1 component(s)
Fixed Versions:
20.0.1
Product / Package Ecosystem Affected Versions Fixed Version
com.okta.sdk:okta-sdk-root
Maven
≥ 11.0.0
< 20.0.1
20.0.1

References

Frequently Asked Questions

What is CVE-2025-67505?
CVE-2025-67505 is a security vulnerability in Okta sdk root involving Race condition in the Okta Java SDK under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Okta sdk root versions are affected?
Affected versions include releases prior to 20.0.1 across affected packages: com.okta.sdk:okta-sdk-root.
What version fixes CVE-2025-67505?
Upgrading to 20.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is okta-sdk-root affected?
Yes, com.okta.sdk:okta-sdk-root is affected in releases prior to 20.0.1. Upgrade your dependency to 20.0.1 or later.
What is the CVSS score of CVE-2025-67505?
CVE-2025-67505 has a CVSS v3.1 base score of 8.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L.
What CWE is associated with CVE-2025-67505?
CVE-2025-67505 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check Maven dependencies for CVE-2025-67505?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.okta.sdk'. 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-j5gq-897m-2rff",
  "modified" : "2025-12-10T21:31:52Z",
  "published" : "2025-12-10T21:31:52Z",
  "aliases" : [ "CVE-2025-67505" ],
  "summary" : "Race condition in the Okta Java SDK",
  "details" : "### Description\nIn the Okta Java SDK, race conditions may arise from concurrent requests using the ApiClient class. This could cause a status code or response header from one request’s response to influence another request’s response.\n\n\n### Affected product and versions\nYou may be affected if you meet the following preconditions:\n- Using the Okta Java SDK between versions 11.0.0 and 20.0.0, and\n- Implementing a multithreaded application with the ApiClient class where the response status code is used in access control flows\n\n### Resolution\nUpgrade Okta/okta-sdk-java to versions 21.0.0  or greater.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.okta.sdk:okta-sdk-root"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "20.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 20.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/okta/okta-sdk-java/security/advisories/GHSA-j5gq-897m-2rff"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/okta/okta-sdk-java/commit/abf4f128a0441f90cb7efcdcf4bde1aef8703243"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/okta/okta-sdk-java"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T21:31:52Z",
    "nvd_published_at" : null
  }
}