CVE-2021-3578
n/a isync: Incorrect Type Conversion or Cast
Check your servers for CVE-2021-3578
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-3578 affects isync, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 1.04%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.8% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-704 Incorrect Type Conversion or Cast
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
isync
n/a
|
affected isync 1.3.6, isync 1.4.2
|
Is my server affected?
Find the installed version of isync and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i isync
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-3578 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-3578RHEL, Rocky, Alma, Fedora
rpm -q isync
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-3578Alpine
apk list --installed | grep -i isyncWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-3578
trivy image --scanners vuln IMAGE | grep CVE-2021-3578
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- FEDORA-2021-f236f9f01a lists.fedoraproject.org · vendor advisory
- FEDORA-2021-754af4d52b lists.fedoraproject.org · vendor advisory
- GLSA-202208-15 security.gentoo.org · vendor advisory
Other references
- [oss-security] 20210607 CVE-2021-3578: possible remote code execution in isync/mbsync openwall.com · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=1961710 bugzilla.redhat.com
- https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/ github.blog
- https://bugzilla.redhat.com/show_bug.cgi?id=1967397 bugzilla.redhat.com
- https://www.openwall.com/lists/oss-security/2021/06/07/1 openwall.com
- [debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update lists.debian.org · mailing list
Source: the record CVE-2021-3578 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse