CVE-2021-3578: mbsync - Buffer Overflow
- Cve: CVE-2021-3578
- Name: mbsync - Buffer Overflow
- Description: A flaw was found in mbsync before v1.3.6 and v1.4.2, where an unchecked pointer cast allows a malicious or compromised server to write an arbitrary integer value past the end of a heap-allocated structure by issuing an unexpected APPENDUID response. This could be plausibly exploited for remote code execution on the client.
- Impact: Remote attackers can potentially execute arbitrary code on the client by exploiting heap memory corruption.
- Remediation: Update to version 1.3.6, 1.4.2 or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Interaction with a malicious or compromised server
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01037
- Epss percentile: 0.64762
- Assignee: [email protected]
- Published at: 2022-02-16T19:15:08Z
- Age in days: 1742
- Modified at: 2026-06-17T04:05:22Z
- Patch available: yes
- References total: 7
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3578
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-704 | Incorrect Type Conversion or Cast |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2021/06/07/1 | Mailing List, Patch, Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1967397 | Issue Tracking, Patch, Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2021/06/07/1 | Mailing List, Patch, 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/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/ |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| debian:debian_linux | = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 34, = 33 | /v1/products/fedoraproject/fedora |
| isync_project:isync | = 1.4.1, = 1.4.0, < 1.3.6 | /v1/products/isync_project/isync |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports