CVE-2021-40525

Summary

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 Software

VendorProductVersion RangeStatus
Apache Software FoundationApache JamesApache James <= 3.6.0affected

Weaknesses

  • CWE-22: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Workarounds

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

ADP Enrichment

CVE Program Container

Additional References

References