cve.bz

CVE-2021-40111 apache james: Infinite Loop

6.5 mediumEPSS 2.1%Fix available

Medium (6.5) in apache james. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.james:james-server 3.6.1.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.1% (unchanged from 2.2% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.james:james-server (Maven): fixed in 3.6.1

Ask an AI about this CVE

Show the promptExplain CVE-2021-40111 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40111?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40111?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40111 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Jamesfrom Apache James through 3.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fqgw-6qj5-8hmpMavenorg.apache.james:james-server<3.6.13.6.1

References

Check your stackJSON