{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/11958?format=json","vulnerability_id":"VCID-4q61-ksfc-aqf2","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nApache James ManagedSieve implementation alongside with the file storage for sieve scripts is vulnerable to path traversal, allowing reading and writing any file. This vulnerability had been patched in Apache James and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted.","aliases":[{"alias":"CVE-2021-40525"},{"alias":"GHSA-c38m-7h53-g9v4"}],"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/276013?format=json","purl":"pkg:maven/org.jamesframework/james@0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-4s4f-emvn-9bhh"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/276014?format=json","purl":"pkg:maven/org.jamesframework/james@0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-4s4f-emvn-9bhh"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/276015?format=json","purl":"pkg:maven/org.jamesframework/james@1.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@1.1"},{"url":"http://public2.vulnerablecode.io/api/packages/276016?format=json","purl":"pkg:maven/org.jamesframework/james@1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4q61-ksfc-aqf2"},{"vulnerability":"VCID-aqre-33na-w3d9"},{"vulnerability":"VCID-gcxw-t4m6-4bcs"},{"vulnerability":"VCID-k6dw-17nc-xbd5"},{"vulnerability":"VCID-tbyy-yemg-g7bk"},{"vulnerability":"VCID-vv9x-5ab5-yfgc"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@1.2"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-40525","reference_id":"","reference_type":"","scores":[{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86196","published_at":"2026-05-14T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86064","published_at":"2026-04-16T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86069","published_at":"2026-04-18T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86061","published_at":"2026-04-21T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86081","published_at":"2026-04-24T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86091","published_at":"2026-04-26T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.8609","published_at":"2026-04-29T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.8611","published_at":"2026-05-05T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86131","published_at":"2026-05-07T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86149","published_at":"2026-05-09T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86145","published_at":"2026-05-11T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86158","published_at":"2026-05-12T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.85983","published_at":"2026-04-01T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.85994","published_at":"2026-04-02T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86011","published_at":"2026-04-07T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.8603","published_at":"2026-04-08T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86039","published_at":"2026-04-09T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86054","published_at":"2026-04-11T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86051","published_at":"2026-04-12T12:55:00Z"},{"value":"0.02773","scoring_system":"epss","scoring_elements":"0.86047","published_at":"2026-04-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-40525"},{"reference_url":"https://github.com/apache/james-project","reference_id":"","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apache/james-project"},{"reference_url":"https://www.openwall.com/lists/oss-security/2022/01/04/4","reference_id":"","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.openwall.com/lists/oss-security/2022/01/04/4"},{"reference_url":"http://www.openwall.com/lists/oss-security/2022/01/04/4","reference_id":"","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.openwall.com/lists/oss-security/2022/01/04/4"},{"reference_url":"http://www.openwall.com/lists/oss-security/2022/02/07/1","reference_id":"","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.openwall.com/lists/oss-security/2022/02/07/1"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40525","reference_id":"CVE-2021-40525","reference_type":"","scores":[{"value":"9.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40525"},{"reference_url":"https://github.com/advisories/GHSA-c38m-7h53-g9v4","reference_id":"GHSA-c38m-7h53-g9v4","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-c38m-7h53-g9v4"}],"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":"9.0 - 10.0","exploitability":"0.5","weighted_severity":"9.0","risk_score":4.5,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-4q61-ksfc-aqf2"}