CVE-2021-40111 Apache James IMAP parsing Denial Of Service
MediumCVSS 6.5
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache James | >= Apache James, <= 3.6.0 | after 3.6.0 | Fixed |
| apache james | < 3.6.1 | 3.6.1 | Fixed |
| org.apache.james/james-server(Maven) | < 3.6.1; = 3.0-beta2; = 3.0-beta3; = 3.0-beta4 +12 more | 3.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.james/james-server(Maven) | < 3.6.1 | 3.6.1 |
| org.apache.james/james-server(Maven) | = 3.0-M1 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0-M2 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0-beta2 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0-beta3 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0-beta4 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0.0-RC1 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0.0-beta5 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.0.1 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.1.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.2.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.3.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.4.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.5.0 | No fix listed |
| org.apache.james/james-server(Maven) | = 3.6.0 | No fix listed |
| apache james | < 3.6.1 | 3.6.1 |
| Apache James | >= Apache James, <= 3.6.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- [oss-security] 20220104 CVE-2021-40111: Apache James IMAP parsing Denial Of Service mailing-list third-party-advisory
- github.com