GitHub Advisory Database
GHSA-v84g-cf5j-xjqx
Path Traversal in Apache James Server
Details
Apache James Server prior to version 3.6.2 contains a path traversal vulnerability. The fix for CVE-2021-40525 does not prepend delimiters upon valid directory validations. Affected implementations include: - maildir mailbox store - Sieve file repository This enables a user to access other users data stores (limited to user names being prefixed by the value of the username being used).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.james:james-server | All versions before 3.6.2 (fixed in 3.6.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22931
- https://github.com/apache/james-project/pull/877
- https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7
- https://github.com/apache/james-project
- https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr
- https://www.openwall.com/lists/oss-security/2022/02/07/1