CVE-2021-40525
JSON

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 packageVersionsReported by
Apache Software Foundation Apache Jamesfrom Apache James up to 3.6.0CVE List
org.apache.james:james-server (Maven)before 3.6.1GitHub Advisory Database
apache jamesbefore 3.6.2NVD

All scores

GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD6.4medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-40525 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-c38m-7h53-g9v4 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-40525 changed 2026-06-17Public domain