Path Traversal in Apache James Server

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

Vulnerability ID: GHSA-v84g-cf5j-xjqx
Aliases: CVE-2022-22931
Published: 2022-02-08 00:00:34
CWE: CWE-22
Severity rating: MODERATE
Affected packages:
package: ecosystem: Maven
name: org.apache.james:james-server