{"id":"CVE-2021-3578","details":"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.","modified":"2026-03-15T22:41:05.155560Z","published":"2022-02-16T19:15:08.507Z","related":["openSUSE-SU-2021:1170-1","openSUSE-SU-2021:1185-1","openSUSE-SU-2024:10866-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-15"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1961710"},{"type":"FIX","url":"https://www.openwall.com/lists/oss-security/2021/06/07/1"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/06/07/1"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967397"},{"type":"ARTICLE","url":"https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3578.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"1.3.6"}]},{"events":[{"introduced":"0"},{"last_affected":"1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"1.4.1"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}