Okta Java SDK CVE-2025-66033
MEDIUMSeverity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Availability-only leak (C:N/I:N/A:H) that manifests only under sustained multithreaded load over time, hence AC:H; PR:L retained per vendor as authenticated API usage drives the condition.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Okta Java Management SDK facilitates interactions with the Okta management API. In versions 21.0.0 through 24.0.0, 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. In addition to using the affected versions, users may be at risk if they are implementing a long-running application using the ApiClient in a multi-threaded manner. This issue is fixed in version 24.0.1.
AnalysisAI
Memory and thread resource exhaustion in the Okta Java Management SDK 21.0.0 through 24.0.0 allows long-running, multithreaded applications to progressively degrade and eventually suffer a denial-of-service condition against themselves, because threads are not properly cleaned up after requests complete. Only applications that integrate the SDK's ApiClient in a multithreaded manner and run for extended periods under sustained load are at risk; short-lived processes, single-threaded integrations, and applications on 24.0.1 or later are unaffected. This is not an attacker-triggerable flaw but an availability defect that surfaces through the application's own normal operation, rated CVSS 5.3 (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) with a very low EPSS of 0.27% (17th percentile); no public exploit code or confirmed active exploitation has been identified at time of analysis, and this is a low-real-priority availability issue despite the network attack vector.
Technical ContextAI
The flaw is classified as CWE-401 (Missing Release of Memory after Effective Lifetime), i.e. a memory/resource leak, and the Okta advisory attributes it to threads not being properly cleaned up after requests complete inside specific multithreaded implementations of the SDK's ApiClient. The affected technology is the Okta Java Management SDK (CPE cpe:2.3:a:okta:java_management_sdk, Maven artifact com.okta.sdk:okta-sdk-root), the Java client library used to drive the Okta management API over HTTP, whose pagination and HTTP-response handling logic traditionally relied on shared mutable state. The upstream fix commit (1daa9229a70fc38fb252aeaa637f82d0b0729b3f) illustrates the underlying design problem: it deprecates the stateful PaginationUtil for removal (since 24.1.0) and introduces an immutable, thread-safe ApiResponse<T> object that packages status code, headers and body together, plus a PagedIterable abstraction for automatic pagination, explicitly replacing the old approach that stored response headers in a shared HashMap. That refactor removes the shared per-request state and provides lifecycle-safe iteration, which is consistent with eliminating the resource accumulation. Note that the CVSS vector carries PR:L rather than PR:N, reflecting that exploitation requires an already-running, privileged SDK consumer (an authenticated API client context) rather than an unauthenticated external attacker; the practical exposure is to the availability of the integrating service itself.
RemediationAI
Vendor-released patch: upgrade Okta Java Management SDK to 24.0.1 or greater (maven/com.okta.sdk:okta-sdk-root fixed in 24.0.1), per the GitHub advisory at https://github.com/okta/okta-sdk-java/security/advisories/GHSA-qhr6-6cgv-6638 and the fix commit at https://github.com/okta/okta-sdk-java/commit/1daa9229a70fc38fb252aeaa637f82d0b0729b3f; because this is a library-level defect, the patched dependency must be rebuilt and redeployed into every integrating application, and dependency scanners should confirm no transitive pin still resolves to a 21.0.0-24.0.0 artifact. If upgrading cannot be done immediately, the most effective compensating control is to stop using long-lived, multithreaded ApiClient instances: serialize SDK calls onto a single request thread or use a short-lived, per-operation ApiClient with bounded HTTP connection pools, which caps thread and memory growth at the cost of reduced concurrency and throughput for parallel Okta API workloads. Additional mitigations include scheduling rolling restarts of the integrating service before memory/thread counts cross the degradation threshold (introduces brief availability windows and only delays, not removes, the leak), tightening heap and thread-count alerting so growth is detected early, and restricting the blast radius by isolating the Okta-integration service from other critical workloads. Although the fix commit deprecates PaginationUtil in favour of the immutable PagedIterable/ApiResponse path, that change is a code-modernisation side effect rather than a standalone remediation, and it should not be relied on as a substitute for upgrading to 24.0.1 or later. Vendor patch status per advisory: patch available; no public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-401 – Memory Leak
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today