CVE-2024-37358: Apache James vulnerable to denial of service through the use of IMAP literals
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40325%
CWE
Published
2/6/2025
Updated
2/6/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.apache.james.protocols:protocols-imap | maven | < 3.7.6 | 3.7.6 |
| org.apache.james.protocols:protocols-imap | maven | >= 3.8.0, < 3.8.2 | 3.8.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper input validation and resource control in IMAP literal handling. The unpatched functions allowed: 1) No cumulative size checks for literals (enabling memory exhaustion), 2) No line length limits (facilitating buffer overconsumption), and 3) Uniform size limits regardless of authentication state (letting unauthenticated users trigger large allocations). The patch added validations for these exact scenarios, confirming these functions' role in the vulnerability.