CVE-2024-36823: Ninja core Weak Encryption Vulnerability
MODERATECVE-2024-36823 is a MODERATE weak encryption vulnerability (CWE-326: Inadequate Encryption Strength) affecting Ninja core libraries in the Maven ecosystem. The issue involves weak encryption in ninja core. Remediation is available in the latest vendor maintenance releases.
CVE-2024-36823 at a Glance
How to Fix CVE-2024-36823
To remediate this vulnerability, upgrade all affected Ninja 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.ninjaframework</groupId>
<artifactId>ninja-core</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.ninjaframework
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-36823, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.ninjaframework
Analyze the terminal output to locate any version of Ninja core 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.ninjaframework 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-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Ninja 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-2024-36823 Affected Ninja core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.ninjaframework:ninja-core
|
Maven |
7.0.0
All 1 versions
7.0.0
|
None specified
|
References
Frequently Asked Questions
What is CVE-2024-36823?
Which Ninja core versions are affected?
What version fixes CVE-2024-36823?
Is ninja-core affected?
What CWE is associated with CVE-2024-36823?
How can I check Maven dependencies for CVE-2024-36823?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92wp-jghr-hh87",
"modified" : "2024-06-07T19:36:27Z",
"published" : "2024-06-07T00:30:37Z",
"aliases" : [ "CVE-2024-36823" ],
"summary" : "Weak encryption in Ninja Core",
"details" : "The encrypt() function of Ninja Core v7.0.0 was discovered to use a weak cryptographic algorithm, leading to a possible leakage of sensitive information.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.ninjaframework:ninja-core"
},
"versions" : [ "7.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36823"
}, {
"type" : "WEB",
"url" : "https://github.com/ninjaframework/ninja/issues/759"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ninjaframework/ninja"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-07T19:36:27Z",
"nvd_published_at" : "2024-06-06T22:15:10Z"
}
}