CVE-2025-62710: Sakai kernel-impl Predictable PRNG Used To Generate Vulnerability
MODERATECVE-2025-62710 is a MODERATE (CVSS 5.9) predictable prng used to generate vulnerability (CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)) affecting Sakai kernel-impl libraries in the Maven ecosystem. The issue involves predictable prng used to generate server‑side encryption key in encryptionutilityserviceimpl. Remediation is available in the latest vendor maintenance releases.
CVE-2025-62710 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-62710
To remediate this vulnerability, upgrade all affected Sakai kernel-impl 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.sakaiproject.kernel</groupId>
<artifactId>sakai-kernel-impl</artifactId>
<version>Latest secure release</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.sakaiproject.kernel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-62710, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.sakaiproject.kernel
Analyze the terminal output to locate any version of Sakai kernel-impl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.sakaiproject.kernel 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-337: Predictable Seed in Pseudo-Random Number Generator (PRNG), where a pseudo-random number generator (prng) is initialized from a predictable seed, such as the process id or system time. In Sakai kernel-impl, 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-62710 Affected Sakai kernel-impl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.sakaiproject.kernel:sakai-kernel-impl
|
Maven |
≤ 23.3
|
|
References
Frequently Asked Questions
What is CVE-2025-62710?
Which Sakai kernel-impl versions are affected?
What version fixes CVE-2025-62710?
Is sakai-kernel-impl affected?
What is the CVSS score of CVE-2025-62710?
What CWE is associated with CVE-2025-62710?
How can I check Maven dependencies for CVE-2025-62710?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gr7h-xw4f-wh86",
"modified" : "2025-10-24T18:27:44Z",
"published" : "2025-10-22T19:41:49Z",
"aliases" : [ "CVE-2025-62710" ],
"summary" : "Sakai kernel-impl: predictable PRNG used to generate server‑side encryption key in EncryptionUtilityServiceImpl",
"details" : "### Impact\nEncryptionUtilityServiceImpl initialized an AES256TextEncryptor password (serverSecretKey) using RandomStringUtils with the default java.util.Random. java.util.Random is a non‑cryptographic PRNG and can be predicted from limited state/seed information (e.g., start time window), substantially reducing the effective search space of the generated key. An attacker who can obtain ciphertexts (e.g., exported or at‑rest strings protected by this service) and approximate the PRNG seed can feasibly reconstruct the serverSecretKey and decrypt affected data.\n\n### Patches\nSAK-49866 is patched in Sakai 23.5, 25.0, and trunk. \n\n### Credits\n- Reported by [Suraj Gangwar](https://www.linkedin.com/in/surajgangwar?trk=contact-info).\n- Patched by Sam Ottenhoff (Longsight).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.sakaiproject.kernel:sakai-kernel-impl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "23.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sakaiproject/sakai/security/advisories/GHSA-gr7h-xw4f-wh86"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-62710"
}, {
"type" : "WEB",
"url" : "https://github.com/sakaiproject/sakai/commit/bde070104b1de01f4a6458dca6d9e0880a0e3c04"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sakaiproject/sakai"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-337" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-22T19:41:49Z",
"nvd_published_at" : "2025-10-22T23:15:34Z"
}
}