MODERATE

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)

ArtifactAffected versionsFixed in
org.apache.james » james-server
< 3.6.1
3.6.1

Blast radius

1affected artifacts
17affected versions
3dependent artifacts (est.)
41dependent versions

100% of the dependent artifacts (3) still pull an affected version in their latest release.

DepthDependent versions
Direct
26
2 hops
15

Most used dependents

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

Advisorynvd.nist.gov
Webopenwall.com
Webopenwall.com