Vulnerability · Published Feb 23, 2021 · Assigned by redhat
CVE-2021-20247
High 7.4
In plain English
A high-severity improper input validation in isync/mbsync. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | isync | 1.4.1-r0 | ALPINE-CVE-2021-20247 |
| Alpine:v3.21 | isync | 1.4.1-r0 | ALPINE-CVE-2021-20247 |
| Alpine:v3.22 | isync | 1.4.1-r0 | ALPINE-CVE-2021-20247 |
| Alpine:v3.23 | isync | 1.4.1-r0 | ALPINE-CVE-2021-20247 |
| Alpine:v3.24 | isync | 1.4.1-r0 | ALPINE-CVE-2021-20247 |
| Debian:12 | isync | 1.3.0-2.1 | DEBIAN-CVE-2021-20247 |
| Debian:13 | isync | 1.3.0-2.1 | DEBIAN-CVE-2021-20247 |
| Debian:14 | isync | 1.3.0-2.1 | DEBIAN-CVE-2021-20247 |
| Ubuntu:22.04:LTS | isync | no fix listed | UBUNTU-CVE-2021-20247 |
| Ubuntu:24.04:LTS | isync | no fix listed | UBUNTU-CVE-2021-20247 |
| Ubuntu:25.10 | isync | no fix listed | UBUNTU-CVE-2021-20247 |
| Ubuntu:26.04:LTS | isync | no fix listed | UBUNTU-CVE-2021-20247 |
| Ubuntu:26.10 | isync | no fix listed | UBUNTU-CVE-2021-20247 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | isync/mbsync | before 1.35before 1.4.1 |
Weakness: CWE-20
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1928963 x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/02/22/1 x_refsource_MISC
- FEDORA-2021-954ebabcf7 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-ef8c2acfce vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update mailing-list, x_refsource_MLIST
- GLSA-202208-15 vendor-advisory, x_refsource_GENTOO