7.5high
Apache James IMAP vulnerable to a ReDoS
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 3.31% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-r58x-wjg8-63m9
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache James | from Apache James up to 3.6.0 | CVE List |
| org.apache.james:james-server (Maven) | from 3.1.0 before 3.6.1 | GitHub Advisory Database |
| apache james | before 3.6.1 | NVD |
All scores
| GitHub | high rating | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
What each source says
CVE List
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.
NVD (es)
En Apache James, usando Jazzer fuzzer, identificamos que un usuario de IMAP puede diseñar comandos IMAP LIST para orquestar una denegación de servicio usando una expresión regular vulnerable. Esto afectaba a Apache James versiones anteriores a 3.6.1. Recomendamos actualizar a Apache James versión 3.6.1 o superior, que refuerza el uso del motor de expresiones regulares RE2J para ejecutar regex en tiempo lineal sin retroceso
References
| https://www.openwall.com/lists/oss-security/2022/01/04/2 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/04/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-40110 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40110 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r58x-wjg8-63m9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-40110 changed 2026-06-17 | Public domain |