{"id":"CVE-2022-22931","aliases":["EUVD-2022-1194","GHSA-v84g-cf5j-xjqx"],"status":"published","title":"Path traversal in Apache James 3.6.1","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).","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01761,"percentile":0.78166,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2022-02-07T18:50:10Z","modified":"2026-10-28T02:31:05Z","exploits":[{"source":"pocgithub","id":"shoucheng3/asf__james-project_CVE-2022-22931_3-6-0","title":"shoucheng3/asf__james-project_CVE-2022-22931_3-6-0","date":"2025-08-17","url":"https://github.com/shoucheng3/asf__james-project_CVE-2022-22931_3-6-0"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.james:james-server","fixed_in":["3.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.james:james-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.james:james-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2"}]}],"versions":["3.0-M1","3.0-M2","3.0-beta2","3.0-beta3","3.0-beta4","3.0.0","3.0.0-RC1","3.0.0-beta5","3.0.1","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0"]}],"products":[{"vendor":"apache","product":"james"},{"vendor":"apache software foundation","product":"apache james"}],"references":[{"url":"https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2022/02/07/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22931","tags":["advisory"]},{"url":"https://github.com/apache/james-project/pull/877","tags":["web"]},{"url":"https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v84g-cf5j-xjqx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22931.json","tags":["advisory"]},{"url":"https://github.com/apache/james-project","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-22931","title":"Path traversal in Apache James 3.6.1","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).","status":"published","published":"2022-02-07T18:50:10Z","modified":"2024-08-03T03:28:42.456Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:26.293612Z"}],"euvd":[{"id":"EUVD-2022-1194","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).","status":"published","published":"2022-02-07T18:50:10Z","modified":"2024-08-03T03:28:42Z","updated_at":"2026-11-03T03:25:52.201883Z"}],"ghsa":[{"id":"GHSA-v84g-cf5j-xjqx","title":"Path Traversal in Apache James Server","description":"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).","status":"published","published":"2022-02-08T00:00:34Z","modified":"2023-02-03T05:05:54Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:42.703723Z"}],"nvd":[{"id":"CVE-2022-22931","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).","status":"published","published":"2022-02-07T19:15:08.3Z","modified":"2026-06-17T04:29:11.94Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:11.52734Z"}],"osv":[{"id":"CVE-2022-22931","title":"Path traversal in Apache James 3.6.1","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).","status":"published","published":"2022-02-07T18:50:10Z","modified":"2026-10-28T02:31:05.818907911Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:24.061177Z"},{"id":"GHSA-v84g-cf5j-xjqx","title":"Path Traversal in Apache James Server","description":"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).","status":"published","published":"2022-02-08T00:00:34Z","modified":"2024-12-05T05:43:34.872584Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
