CVE-2021-20247: mbsync - Path Traversal
- Cve: CVE-2021-20247
- Name: mbsync - Path Traversal
- 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.
- Impact: Attackers can access and modify data outside the intended mailbox, risking data confidentiality and integrity.
- Remediation: Update to version 1.3.5 or later, or latest available version.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Interaction with a malicious or compromised server
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.4
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.01903
- Epss percentile: 0.80122
- Assignee: [email protected]
- Published at: 2021-02-23T19:15:13Z
- Age in days: 2100
- Modified at: 2026-06-17T03:33:32Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20247
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.openwall.com/lists/oss-security/2021/02/22/1 | nvd | 2021-02-23 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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.debian.org/debian-lts-announce/2022/07/msg00001.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202208-15 | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAXQLCK35QGRCRENRTGKJO4VVZGUXUJJ/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDEBZQJMWDW5JFK4NTHH6DAFNAZTESW/ |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-02-23
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports