VDB

CVE-2021-40111

CVE-2021-40111 PUBLISHED CVSS 6.5 MEDIUM

Apache James IMAP parsing Denial Of Service

Reported by apache · Published January 4, 2022

james-server is fixed in 3.6.1 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.james:james-serverMaven Central3.6.1
org.jamesframework:jamesMaven Central3.6.1
Apache JamesApache Software Foundation3.6.0
jamesapache3.6.1

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Apache Software FoundationApache JamesApache James
Mavenorg.jamesframework:james0
Mavenorg.apache.james:james-server0
wolfikeycloak*
chainguardkeycloak*
Apache Software FoundationApache James*

Timeline

  • Jan 4, 2022 CVE Published
  • Jan 5, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Jul 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-40111
vulnetix vdb fixes CVE-2021-40111

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-40111/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›