CVE-2021-20247

NameCVE-2021-20247
DescriptionA flaw was found in mbsync before v1.3.5 and v1.4.1. Validations of the mailbox names returned by IMAP LIST/LSUB do not occur allowing a malicious or compromised server to use specially crafted mailbox names containing '..' path components to access data outside the designated mailbox on the opposite end of the synchronization channel. The highest threat from this vulnerability is to data confidentiality and integrity.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs983351

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
isync (PTS)stretch1.2.1-2vulnerable
buster1.3.0-2.2~deb10u1fixed
bullseye, sid1.3.0-2.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
isyncsourcebuster1.3.0-2.2~deb10u1
isyncsource(unstable)1.3.0-2.1983351

Notes

[stretch] - isync <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2021/02/22/1

Search for package or bug name: Reporting problems