CVE-2021-40111
Infinite Loop in Apache James
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.james » james-server | < 3.6.1 | 3.6.1 |
Blast radius
100% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 26 |
| 2 hops | 15 |
Most used dependents
- org.sakaiproject.mailarchive » sakai-mailarchive-james1 usages
- org.sakaiproject.mailarchive » sakai-mailarchive-assembly0 usages
- org.sakaiproject » sakai-mailarchive-james0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-40111 | nvd.nist.gov |
| Web | lists/oss-security/2022/01/04/3 | openwall.com |
| Web | lists/oss-security/2022/01/04/3 | openwall.com |
