Show plain JSON{"containers": {"cna": {"affected": [{"product": "Apache James", "vendor": "Apache Software Foundation", "versions": [{"lessThanOrEqual": "3.6.0", "status": "affected", "version": "Apache James", "versionType": "custom"}]}], "credits": [{"lang": "en", "value": "The Apache James PMC would like to thanks Benoit TELLIER for the report."}], "descriptions": [{"lang": "en", "value": "Apache 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 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted."}], "problemTypes": [{"descriptions": [{"cweId": "CWE-22", "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "lang": "en", "type": "CWE"}]}], "providerMetadata": {"dateUpdated": "2022-02-07T09:06:13", "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "shortName": "apache"}, "references": [{"tags": ["x_refsource_MISC"], "url": "https://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220104 CVE-2021-40525: Apache James: Sieve file storage vulnerable to path traversal attacks", "tags": ["mailing-list", "x_refsource_MLIST"], "url": "http://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220207 CVE-2022-22931: Path traversal in Apache James", "tags": ["mailing-list", "x_refsource_MLIST"], "url": "http://www.openwall.com/lists/oss-security/2022/02/07/1"}], "source": {"defect": ["JAMES-3646"], "discovery": "UNKNOWN"}, "title": "Sieve file storage vulnerable to path traversal attacks", "workarounds": [{"lang": "en", "value": "This could also be mitigated by ensuring manageSieve is disabled, which is the case by default.\n"}], "x_generator": {"engine": "Vulnogram 0.0.9"}, "x_legacyV4Record": {"CVE_data_meta": {"ASSIGNER": "security@apache.org", "ID": "CVE-2021-40525", "STATE": "PUBLIC", "TITLE": "Sieve file storage vulnerable to path traversal attacks"}, "affects": {"vendor": {"vendor_data": [{"product": {"product_data": [{"product_name": "Apache James", "version": {"version_data": [{"version_affected": "<=", "version_name": "Apache James", "version_value": "3.6.0"}]}}]}, "vendor_name": "Apache Software Foundation"}]}}, "credit": [{"lang": "eng", "value": "The Apache James PMC would like to thanks Benoit TELLIER for the report."}], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": {"description_data": [{"lang": "eng", "value": "Apache 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 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted."}]}, "generator": {"engine": "Vulnogram 0.0.9"}, "impact": [{}], "problemtype": {"problemtype_data": [{"description": [{"lang": "eng", "value": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]}, "references": {"reference_data": [{"name": "https://www.openwall.com/lists/oss-security/2022/01/04/4", "refsource": "MISC", "url": "https://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220104 CVE-2021-40525: Apache James: Sieve file storage vulnerable to path traversal attacks", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220207 CVE-2022-22931: Path traversal in Apache James", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2022/02/07/1"}]}, "source": {"defect": ["JAMES-3646"], "discovery": "UNKNOWN"}, "work_around": [{"lang": "en", "value": "This could also be mitigated by ensuring manageSieve is disabled, which is the case by default.\n"}]}}, "adp": [{"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T02:44:10.863Z"}, "title": "CVE Program Container", "references": [{"tags": ["x_refsource_MISC", "x_transferred"], "url": "https://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220104 CVE-2021-40525: Apache James: Sieve file storage vulnerable to path traversal attacks", "tags": ["mailing-list", "x_refsource_MLIST", "x_transferred"], "url": "http://www.openwall.com/lists/oss-security/2022/01/04/4"}, {"name": "[oss-security] 20220207 CVE-2022-22931: Path traversal in Apache James", "tags": ["mailing-list", "x_refsource_MLIST", "x_transferred"], "url": "http://www.openwall.com/lists/oss-security/2022/02/07/1"}]}]}, "cveMetadata": {"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "assignerShortName": "apache", "cveId": "CVE-2021-40525", "datePublished": "2022-01-04T08:55:25", "dateReserved": "2021-09-06T00:00:00", "dateUpdated": "2024-08-04T02:44:10.863Z", "state": "PUBLISHED"}, "dataType": "CVE_RECORD", "dataVersion": "5.1"}