Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jamesframework/james
  4. ›
  5. CVE-2021-40111

CVE-2021-40111: Loop with Unreachable Exit Condition ('Infinite Loop')

January 4, 2022 (updated January 12, 2022)

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 vulnerability had been patched in Apache James and higher. We recommend the upgrade.

References

  • www.openwall.com/lists/oss-security/2022/01/04/3
  • nvd.nist.gov/vuln/detail/CVE-2021-40111
  • www.openwall.com/lists/oss-security/2022/01/04/3

Code Behaviors & Features

Detect and mitigate CVE-2021-40111 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/org.jamesframework/james/CVE-2021-40111.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.