Path traversal in Apache James - CVE-2021-40525

 

Path traversal in Apache James - CVE-2021-40525

Published: January 4, 2022


Vulnerability identifier: #VU59160
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-40525
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache James

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the Sieve file storage implementation. A remote user can send a specially crafted request and read or write arbitrary files on the system.


How to mitigate CVE-2021-40525

Install update from vendor's website.

Sources