Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.james/james-server
  4. ›
  5. CVE-2021-40525

CVE-2021-40525: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

January 21, 2022 (updated February 8, 2022)

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.

References

  • www.openwall.com/lists/oss-security/2022/01/04/4
  • www.openwall.com/lists/oss-security/2022/02/07/1
  • github.com/advisories/GHSA-c38m-7h53-g9v4
  • nvd.nist.gov/vuln/detail/CVE-2021-40525
  • www.openwall.com/lists/oss-security/2022/01/04/4

Code Behaviors & Features

Detect and mitigate CVE-2021-40525 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.1

Fixed versions

  • 3.6.1

Solution

Upgrade to version 3.6.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.apache.james/james-server/CVE-2021-40525.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:35 +0000.