6.5medium
Apache James IMAP parsing Denial Of Service
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.13% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-fqgw-6qj5-8hmp
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache James | from Apache James up to 3.6.0 | CVE List |
| org.apache.james:james-server (Maven) | before 3.6.1 | GitHub Advisory Database |
| apache james | before 3.6.1 | NVD |
All scores
| GitHub | medium rating | |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
En Apache James, mientras es analizado con Jazzer la pila de análisis de IMAP, detectamos que los comandos APPEND y STATUS IMAP diseñados podían ser usados para desencadenar bucles infinitos resultando en costosos cálculos de la CPU y excepciones OutOfMemory. Esto puede ser usado para un ataque de denegación de servicio. El usuario de IMAP necesita estar autenticado para explotar esta vulnerabilidad. Esto afectaba a Apache James versiones anteriores a 3.6.1. Esta vulnerabilidad ha sido parcheada en Apache James versiones 3.6.1 y superiores. Recomendamos la actualización
References
| https://www.openwall.com/lists/oss-security/2022/01/04/3 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/04/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-40111 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40111 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fqgw-6qj5-8hmp changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-40111 changed 2026-06-17 | Public domain |