CVE-2024-37358: Apache James vulnerable to denial of service through the use of IMAP literals
Similarly to CVE-2024-34055, Apache James is vulnerable to denial of service through the abuse of IMAP literals from both authenticated and unauthenticated users, which could be used to cause unbounded memory allocation and very long computations Version 3.7.6 and 3.8.2 restrict such illegitimate use of IMAP literals.
Published Feb 6, 2025 · Updated Jul 16, 2025
Affected packages
org.apache.james.protocols:protocols-imap
- Ecosystem
- Maven
- Affected
- < 3.7.6
- Fixed in
- 3.7.6
- Check
mvn dependency:tree -Dincludes=org.apache.james.protocols:protocols-imap
org.apache.james.protocols:protocols-imap
- Ecosystem
- Maven
- Affected
- >= 3.8.0, < 3.8.2
- Fixed in
- 3.8.2
- Check
mvn dependency:tree -Dincludes=org.apache.james.protocols:protocols-imap
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Similarly to CVE-2024-34055, Apache James is vulnerable to denial of service through the abuse of IMAP literals from both authenticated and unauthenticated users, which could be used to cause unbounded memory allocation and very long computations
Version 3.7.6 and 3.8.2 restrict such illegitimate use of IMAP literals.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-37358
- https://lists.apache.org/thread/1pxsh11v5s3fkvhnqvkmlqwt3fgpcrqc
- https://github.com/apache/james-project/commit/6dd3ad9ea1f6a9bc887d2c7af3f5aa30a60ec769
- https://github.com/apache/james-project/commit/b2f3c06edfd37b409121bf04c56a6f026048a77e
- https://github.com/advisories/GHSA-56jp-w6vw-j3jw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
