6.5

CVE-2021-40111: apache software foundation apache james Infinite Loop

CVSS: 6.5v3.1MediumModified
AliasesCGA-46fh-gpwv-hv4rCGA-mwvh-2c3x-3fqgGHSA-fqgw-6qj5-8hmp
Published 04-01-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-40111 is a medium (CVSS 6.5) Infinite Loop vulnerability in apache software foundation apache james. EPSS estimates a 2.12% chance of exploitation in the next 30 days, higher than 81.6% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
2.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 04-01-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.12%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

0.00 pp

From 2.12% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.12%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
Chainguard1 product
  • keycloakAll versions (No fix recorded)
Org.apache.james1 product
  • james-server< 3.6.1
Wolfi1 product
  • keycloakAll versions (No fix recorded)

5 vendors · 5 products

References

3 links