CVE-2021-40525

Sieve file storage vulnerable to path traversal attacks

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.

Remediation

Workaround:

  • This could also be mitigated by ensuring manageSieve is disabled, which is the case by default.

Category

9.1
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 4.04% Top 15%
Third-Party Advisory openwall.com Third-Party Advisory openwall.com Third-Party Advisory openwall.com
Affected: Apache Software Foundation Apache James
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-40525?
CVE-2021-40525 has been scored as a critical severity vulnerability.
How to fix CVE-2021-40525?
As a workaround for remediating CVE-2021-40525: This could also be mitigated by ensuring manageSieve is disabled, which is the case by default.
Is CVE-2021-40525 being actively exploited in the wild?
It is possible that CVE-2021-40525 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-40525?
CVE-2021-40525 affects Apache Software Foundation Apache James.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.