9.1critical
Sieve file storage vulnerable to path traversal attacks
- Severity
- 9.1critical CVSS:3.1 by NVD
- Exploit likelihood
- 3.83% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-c38m-7h53-g9v4
Description
Apache James ManagedSieve implementation alongside with the file storage for sieve scripts is vulnerable to path traversal, allowing reading and writing any file. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted.
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) | before 3.6.1 | GitHub Advisory Database |
| apache james | before 3.6.2 | NVD |
All scores
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
Apache James ManagedSieve implementation alongside with the file storage for sieve scripts is vulnerable to path traversal, allowing reading and writing any file. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted.
NVD (es)
La implementación de Apache James ManagedSieve junto con el almacenamiento de archivos para los scripts de sieve es vulnerable a un salto de ruta, permitiendo leer y escribir cualquier archivo. Esta vulnerabilidad ha sido parcheada en Apache James versiones 3.6.1 y superiores. Recomendamos la actualización. Los productos distribuidos y basados en Cassandra tampoco están afectados
References
| https://www.openwall.com/lists/oss-security/2022/01/04/4 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/04/4 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/02/07/1 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-40525 | advisory | |
| https://github.com/apache/james-project | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40525 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c38m-7h53-g9v4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-40525 changed 2026-06-17 | Public domain |