{"id":"CVE-2022-22931","aliases":["CVE-2022-22931","GHSA-v84g-cf5j-xjqx"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in Apache James 3.6.1","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"La corrección de CVE-2021-40525 no antepone delimitadores a las comprobaciones de directorios. Las implementaciones afectadas incluyen: - Almacén de buzones maildir - Repositorio de archivos Sieve Esto permite a un usuario acceder a almacenes de datos de otros usuarios (limitado a que los nombres de usuario lleven como prefijo el valor del nombre de usuario usado)","source":"nvd"}],"published":"2022-02-07T18:50:10.000Z","modified":"2026-06-17T04:29:11.940Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"Apache James 3.6.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache James","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.2"}],"ecosystem":"Maven","package":"org.apache.james:james-server","purl":"pkg:maven/org.apache.james/james-server","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.6.1"}],"vendor":"apache","product":"james","cpe":"cpe:2.3:a:apache:james:3.6.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr","tags":["mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2022/02/07/1","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22931","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-project/pull/877","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/james-project","tags":["package"],"sources":["ghsa"]}],"credits":["These issues were discovered and reported by GHSL team member Jaroslav Lobačevski"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-22931","url":"https://www.cve.org/CVERecord?id=CVE-2022-22931","licence":"CVE Terms of Use","modified":"2024-08-03T03:28:42.456Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v84g-cf5j-xjqx","url":"https://github.com/advisories/GHSA-v84g-cf5j-xjqx","licence":"CC-BY-4.0","modified":"2024-12-05T05:43:34.872Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-22931","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22931","licence":"Public domain","modified":"2026-06-17T04:29:11.940Z"}],"updatedAt":"2026-11-25T22:58:09.545Z","epss":{"score":0.01819,"percentile":0.79361,"date":"2026-12-01T12:00:22.000Z"}}