CVE-2025-66033: Okta sdk root Improper Memory Cleanup Vulnerability

MODERATE
Advisory Identifier: GHSA-qhr6-6cgv-6638
CVSS 5.3
CWE-401
Published
Advisory Summary

CVE-2025-66033 is a MODERATE (CVSS 5.3) improper memory cleanup vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Okta sdk root libraries in the Maven ecosystem. The issue involves improper memory cleanup in the okta java sdk. Remediation is available by upgrading affected packages to version 24.0.1.

CVE-2025-66033 at a Glance

CVE Identifier CVE-2025-66033
GHSA Identifier GHSA-qhr6-6cgv-6638
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-401: Missing Release of Memory after Effective Lifetime
Affected Product Okta sdk root
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2025-66033

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: 24.0.1
<dependency>
    <groupId>com.okta.sdk</groupId>
    <artifactId>okta-sdk-root</artifactId>
    <version>24.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-66033, 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 24.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-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. 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, specific multithreaded implementations may encounter memory issues as threads are not properly cleaned up after requests are completed. Over time, this can degrade performance and availability in long-running applications and may result in a denial-of-service condition under sustained load. ### Affected product and versions You may be affected by this vulnerability if you meet the following preconditions: - Using the Okta Java SDK between versions 21.0.0 and 24.0.0, and - Implementing a long-running application using the ApiClient in a multi-threaded manner. ### Resolution Upgrade Okta/okta-sdk-java to versions 24.0.1 or greater. ### Acknowledgement Okta would like to thank Andrew Pikler (pyckle) for their discovery and responsible disclosure.

CVE-2025-66033 Affected Okta sdk root Versions

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

References

Frequently Asked Questions

What is CVE-2025-66033?
CVE-2025-66033 is a security vulnerability in Okta sdk root involving Improper Memory Cleanup in the Okta Java SDK under CWE-401: Missing Release of Memory after Effective Lifetime.
Which Okta sdk root versions are affected?
Affected versions include releases prior to 24.0.1 across affected packages: com.okta.sdk:okta-sdk-root.
What version fixes CVE-2025-66033?
Upgrading to 24.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 24.0.1. Upgrade your dependency to 24.0.1 or later.
What is the CVSS score of CVE-2025-66033?
CVE-2025-66033 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-66033?
CVE-2025-66033 is classified under CWE-401: Missing Release of Memory after Effective Lifetime (The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.).
How can I check Maven dependencies for CVE-2025-66033?
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-qhr6-6cgv-6638",
  "modified" : "2025-12-11T15:47:30Z",
  "published" : "2025-12-10T21:30:55Z",
  "aliases" : [ "CVE-2025-66033" ],
  "summary" : "Improper Memory Cleanup in the Okta Java SDK",
  "details" : "### Description\nIn the Okta Java SDK, specific multithreaded implementations may encounter memory issues as threads are not properly cleaned up after requests are completed. Over time, this can degrade performance and availability in long-running applications and may result in a denial-of-service condition under sustained load.\n\n### Affected product and versions\nYou may be affected by this vulnerability if you meet the following preconditions:\n- Using the Okta Java SDK between versions 21.0.0 and 24.0.0, and\n- Implementing a long-running application using the ApiClient in a multi-threaded manner.\n\n### Resolution\nUpgrade Okta/okta-sdk-java to versions 24.0.1 or greater. \n\n### Acknowledgement\nOkta would like to thank Andrew Pikler (pyckle) for their discovery and responsible disclosure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.okta.sdk:okta-sdk-root"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "21.0.0"
      }, {
        "fixed" : "24.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 24.0.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/okta/okta-sdk-java/security/advisories/GHSA-qhr6-6cgv-6638"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66033"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/okta/okta-sdk-java/commit/1daa9229a70fc38fb252aeaa637f82d0b0729b3f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/okta/okta-sdk-java"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-401" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T21:30:55Z",
    "nvd_published_at" : "2025-12-10T22:16:27Z"
  }
}