CVE-2021-40111

Apache James IMAP parsing Denial Of Service

Description

In Apache James, while fuzzing with Jazzer the IMAP parsing stack, we discover that crafted APPEND and STATUS IMAP command could be used to trigger infinite loops resulting in expensive CPU computations and OutOfMemory exceptions. This can be used for a Denial Of Service attack. The IMAP user needs to be authenticated to exploit this vulnerability. This affected Apache James prior to version 3.6.1. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.59%
Third-Party Advisory openwall.com Third-Party Advisory openwall.com
Affected: Apache Software Foundation Apache James
Published at:
Updated at:

References

Link Tags
https://www.openwall.com/lists/oss-security/2022/01/04/3 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2022/01/04/3 third party advisory mailing list

Frequently Asked Questions

What is the severity of CVE-2021-40111?
CVE-2021-40111 has been scored as a medium severity vulnerability.
How to fix CVE-2021-40111?
To fix CVE-2021-40111, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-40111 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-40111 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-40111?
CVE-2021-40111 affects Apache Software Foundation Apache James.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.