{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/12509?format=json","vulnerability_id":"VCID-1vru-s5v2-dbcq","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nFix of CVE-2021-40525 do not prepend delimiters upon valid directory validations. Affected implementations include the maildir mailbox store and the 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).","aliases":[{"alias":"CVE-2022-22931"},{"alias":"GHSA-v84g-cf5j-xjqx"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/44800?format=json","purl":"pkg:maven/org.apache.james/james-server@3.6.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.6.2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/277026?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta2"},{"url":"http://public2.vulnerablecode.io/api/packages/277027?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta3"},{"url":"http://public2.vulnerablecode.io/api/packages/277028?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-beta4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-beta4"},{"url":"http://public2.vulnerablecode.io/api/packages/277029?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0-beta5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0-beta5"},{"url":"http://public2.vulnerablecode.io/api/packages/277030?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-M1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-M1"},{"url":"http://public2.vulnerablecode.io/api/packages/277031?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0-M2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0-M2"},{"url":"http://public2.vulnerablecode.io/api/packages/277032?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0-RC1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0-RC1"},{"url":"http://public2.vulnerablecode.io/api/packages/277033?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277034?format=json","purl":"pkg:maven/org.apache.james/james-server@3.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/143211?format=json","purl":"pkg:maven/org.apache.james/james-server@3.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277035?format=json","purl":"pkg:maven/org.apache.james/james-server@3.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277036?format=json","purl":"pkg:maven/org.apache.james/james-server@3.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277037?format=json","purl":"pkg:maven/org.apache.james/james-server@3.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277038?format=json","purl":"pkg:maven/org.apache.james/james-server@3.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/277039?format=json","purl":"pkg:maven/org.apache.james/james-server@3.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"},{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-6gfs-f46a-3qeb"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-repa-s2hq-qyfu"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.james/james-server@3.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/42885?format=json","purl":"pkg:maven/org.jamesframework/james@3.6.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1vru-s5v2-dbcq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@3.6.1"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-22931","reference_id":"","reference_type":"","scores":[{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86269","published_at":"2026-05-07T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86199","published_at":"2026-04-16T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86205","published_at":"2026-04-18T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86197","published_at":"2026-04-21T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86218","published_at":"2026-04-24T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86228","published_at":"2026-04-26T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86229","published_at":"2026-04-29T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86248","published_at":"2026-05-05T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86129","published_at":"2026-04-02T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86144","published_at":"2026-04-07T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86163","published_at":"2026-04-08T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86175","published_at":"2026-04-09T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.8619","published_at":"2026-04-11T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86187","published_at":"2026-04-12T12:55:00Z"},{"value":"0.02834","scoring_system":"epss","scoring_elements":"0.86183","published_at":"2026-04-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-22931"},{"reference_url":"https://github.com/apache/james-project","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apache/james-project"},{"reference_url":"https://github.com/apache/james-project/pull/877","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apache/james-project/pull/877"},{"reference_url":"https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7"},{"reference_url":"https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr"},{"reference_url":"https://www.openwall.com/lists/oss-security/2022/02/07/1","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.openwall.com/lists/oss-security/2022/02/07/1"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22931","reference_id":"CVE-2022-22931","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22931"},{"reference_url":"https://github.com/advisories/GHSA-v84g-cf5j-xjqx","reference_id":"GHSA-v84g-cf5j-xjqx","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-v84g-cf5j-xjqx"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":352,"name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-1vru-s5v2-dbcq"}