Path traversal in Isync: mailbox synchronizer - CVE-2021-20247

 

Path traversal in Isync: mailbox synchronizer - CVE-2021-20247

Published: February 23, 2021


Vulnerability identifier: #VU50871
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-20247
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to improper validation of mailbox names returned by IMAP LIST/LSUB in the mbsync command. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

Isync: mailbox synchronizer
Arch Linux
Fedora
isync

How to mitigate CVE-2021-20247

Install update from vendor's website.

Isync: mailbox synchronizer - addressed in versions 1.3.5, 1.4.1
isync - addressed in versions 1.4.1-1.el8, 1.4.1-1.fc32, 1.4.1-1.fc33

External References

Related Security Bulletins