CVE-2024-36823: Weak encryption in Ninja Core
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.90592%
CWE
Published
6/7/2024
Updated
6/7/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.ninjaframework:ninja-core | maven | = 7.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability description explicitly mentions the encrypt() function as the source of weak encryption.
- The GitHub issue #759 directly analyzes CookieEncryption.java, showing AES/ECB usage through Cipher.getInstance("AES") which defaults to ECB mode.
- The ECB mode's insecure nature (identical plaintext blocks producing identical ciphertext) is well-documented and matches the described information leakage scenario.
- The test case in CookieEncryptionTest.java demonstrates predictable ciphertext patterns confirming ECB usage.