# CVE-2021-20247: A flaw was found in mbsync before v1.3.5 and v1.4.1.

- Severity: High 7.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-23T18:45:29.000Z
- Modified: 2026-06-17T03:33:32.533Z
- Weaknesses: CWE-20, CWE-22
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- isync/mbsync: before 1.35; before 1.4.1
- mbsync_project mbsync: before 1.3.5; from 1.4.0 before 1.4.1
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- debian debian_linux: 9.0
- fedoraproject fedora: 32; 33

## Every score

- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://www.openwall.com/lists/oss-security/2021/02/22/1> (exploit, mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1928963> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAXQLCK35QGRCRENRTGKJO4VVZGUXUJJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDEBZQJMWDW5JFK4NTHH6DAFNAZTESW/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-15> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-20247](https://www.cve.org/CVERecord?id=CVE-2021-20247), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20247](https://nvd.nist.gov/vuln/detail/CVE-2021-20247), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20247 · Whole record: https://cve.day/CVE-2021-20247.json · Rebuilt by cve.day 2026-11-25T22:58:00.021Z
