CVE-2021-20247
publishedisync/mbsync: mailbox names returned by IMAP LIST/LSUB not validated
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | isync/mbsyncbefore 1.35 · before 1.4.1 | Affected | Not stated | redhat |
| Alpine Linux | edge | isync | Fixed | 1.4.1-r0 | Package fix record |
| Debian | stretch | isync | Advisory build | 1.2.1-2+deb9u1 | DLA-3066-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | isyncx86_64 | Advisory build | 1.3.5-lp152.4.3.1 | OPENSUSE-SU-2021:0516-1 |
| Alpine Linux | v3.13 | isync | Fixed | 1.3.5-r0 | Package fix record |
| Alpine Linux | v3.14 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.15 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.16 | isync | Fixed | 1.4.1-r0 | Package fix record |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.17 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.18 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.19 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.20 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.21 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.22 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.23 | isync | Fixed | 1.4.1-r0 | Package fix record |
| Alpine Linux | v3.24 | isync | Fixed | 1.4.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | isyncaarch64 | Advisory build | 1.4.3-1.2 | OPENSUSE-SU-2024:10866-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | isyncppc64le | Advisory build | 1.4.3-1.2 | OPENSUSE-SU-2024:10866-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | isyncs390x | Advisory build | 1.4.3-1.2 | OPENSUSE-SU-2024:10866-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | isyncx86_64 | Advisory build | 1.4.3-1.2 | OPENSUSE-SU-2024:10866-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | isync/mbsync | before 1.35 (affected)before 1.4.1 (affected) | redhat · cna |
Weaknesses
1- CWE-20 CWE-20->CWE-22
References
6- https://bugzilla.redhat.com/show_bug.cgi?id=1928963
- [debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html
- FEDORA-2021-954ebabcf7 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAXQLCK35QGRCRENRTGKJO4VVZGUXUJJ/
- FEDORA-2021-ef8c2acfce https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDEBZQJMWDW5JFK4NTHH6DAFNAZTESW/
- GLSA-202208-15 https://security.gentoo.org/glsa/202208-15
- https://www.openwall.com/lists/oss-security/2021/02/22/1
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ec909de144b04676ede33fb69f55a6ac0b8091a6e2a2455619b33a2c7e1f026
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record