CVE-2021-40111
JSON

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 packageVersionsReported by
Apache Software Foundation Apache Jamesfrom Apache James up to 3.6.0CVE List
org.apache.james:james-server (Maven)before 3.6.1GitHub Advisory Database
apache jamesbefore 3.6.1NVD

All scores

GitHubmedium rating
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD4.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-40111 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-fqgw-6qj5-8hmp changed 2026-09-10CC-BY-4.0
NVDCVE-2021-40111 changed 2026-06-17Public domain