CVE-2025-65998: Syncope core Apache Syncope's AES Encryption Stores Vulnerability
HIGHCVE-2025-65998 is a HIGH (CVSS 7.5) apache syncope's aes encryption stores vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) affecting Syncope core libraries in the Maven ecosystem. The issue involves apache syncope's aes encryption stores hard-coded passwords in internal database. Remediation is available by upgrading affected packages to version 4.0.3, 3.0.15.
CVE-2025-65998 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-65998
To remediate this vulnerability, upgrade all affected Syncope core 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.apache.syncope</groupId>
<artifactId>syncope-core</artifactId>
<version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.apache.syncope</groupId>
<artifactId>syncope-core</artifactId>
<version>3.0.15</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.apache.syncope
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-65998, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.syncope
Analyze the terminal output to locate any version of Syncope core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.syncope 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-321: Use of Hard-coded Cryptographic Key, where the product uses a hard-coded, unchangeable cryptographic key. In Syncope core, 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-65998 Affected Syncope core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.syncope:syncope-core
|
Maven |
≥ 4.0.0
< 4.0.3
|
4.0.3
|
|
org.apache.syncope:syncope-core
|
Maven |
< 3.0.15
|
3.0.15
|
References
Frequently Asked Questions
What is CVE-2025-65998?
Which Syncope core versions are affected?
What version fixes CVE-2025-65998?
Is syncope-core affected?
What is the CVSS score of CVE-2025-65998?
What CWE is associated with CVE-2025-65998?
How can I check Maven dependencies for CVE-2025-65998?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jqg8-m35q-jh7j",
"modified" : "2025-11-25T14:14:13Z",
"published" : "2025-11-24T15:30:29Z",
"aliases" : [ "CVE-2025-65998" ],
"summary" : "Apache Syncope's AES encryption stores hard-coded passwords in internal database",
"details" : "Apache Syncope can be configured to store the user password values in the internal database with AES encryption, though this is not the default option.\n\nWhen AES is configured, the default key value, hard-coded in the source code, is always used. This allows a malicious attacker, once obtained access to the internal database content, to reconstruct the original cleartext password values.\nThis is not affecting encrypted plain attributes, whose values are also stored using AES encryption.\n\nUsers are recommended to upgrade to version 3.0.15 / 4.0.3, which fix this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.syncope:syncope-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.syncope:syncope-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65998"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/syncope/commit/297498ebfc86e4996f5e3e4ef7b7f8b1cd82004b"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/syncope/commit/9d706af25d2e60327b8b5b63186f9da51ed79a1d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/syncope"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/fjh0tb0d1xkbphc5ogdsc348ppz88cts"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/11/24/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-321" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-25T14:14:13Z",
"nvd_published_at" : "2025-11-24T14:15:48Z"
}
}