CVE-2021-40525
publishedSieve file storage vulnerable to path traversal attacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache JamesApache James through 3.6.0 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache James | Apache James through 3.6.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3- [oss-security] 20220104 CVE-2021-40525: Apache James: Sieve file storage vulnerable to path traversal attacks http://www.openwall.com/lists/oss-security/2022/01/04/4
- [oss-security] 20220207 CVE-2022-22931: Path traversal in Apache James http://www.openwall.com/lists/oss-security/2022/02/07/1
- https://www.openwall.com/lists/oss-security/2022/01/04/4
Provider assertions
2apache · cna
Sieve file storage vulnerable to path traversal attacks
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1614bf5d60b73a46e0f21ce8f3b261551e54bb368eddf940e29125c5db8c932d
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record