CVE-2022-22931

MEDIUM LAB

Apache James < 3.6.2 - Path Traversal

Title source: rule

Description

Fix of CVE-2021-40525 do 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).

Exploits (1)

nomisec WORKING POC
by shoucheng3 · poc
https://github.com/shoucheng3/asf__james-project_CVE-2022-22931_3-6-0

Scores

CVSS v3 4.3
EPSS 0.0283
EPSS Percentile 86.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Lab Environment

COMMUNITY
Community Lab
docker pull apache/james:memory-latest
docker pull graphiteapp/graphite-statsd
docker pull linagora/apisix:3.2.0-debian-javaplugin
docker pull quay.io/keycloak/keycloak:16.1.0
docker pull osixia/openldap:1.5.0
+23 more images

Details

CWE
CWE-22
Status published
Products (2)
apache/james 3.6.1
org.apache.james/james-server 0 - 3.6.2Maven
Published Feb 07, 2022
Tracked Since Feb 18, 2026