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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3066-1
Debian Bugs983351

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
isync (PTS)bullseye1.3.0-2.2+deb11u1fixed
bookworm, sid, trixie1.4.4-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
isyncsourcestretch1.2.1-2+deb9u1DLA-3066-1
isyncsourcebuster1.3.0-2.2~deb10u1
isyncsource(unstable)1.3.0-2.1983351

Notes

https://www.openwall.com/lists/oss-security/2021/02/22/1

Search for package or bug name: Reporting problems