{"id":"CVE-2021-3578","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2022-02-16T18:35:33.000Z","updatedAt":"2024-08-03T17:01:07.795Z","severity":null,"assigner":"redhat","products":["n/a isync"],"affected":[{"vendor":"n/a","product":"isync","versions":[{"version":"isync 1.3.6, isync 1.4.2","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2021/06/07/1","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/","https://bugzilla.redhat.com/show_bug.cgi?id=1961710","https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/","https://bugzilla.redhat.com/show_bug.cgi?id=1967397","https://www.openwall.com/lists/oss-security/2021/06/07/1","https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html","https://security.gentoo.org/glsa/202208-15"],"weaknesses":["CWE-704"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3578.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3578","state":"PUBLISHED","datePublished":"2022-02-16T18:35:33.000Z","dateUpdated":"2024-08-03T17:01:07.795Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-06-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"isync","versions":[{"version":"isync 1.3.6, isync 1.4.2","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2021/06/07/1","name":"[oss-security] 20210607 CVE-2021-3578: possible remote code execution in isync/mbsync","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/","name":"FEDORA-2021-f236f9f01a","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/","name":"FEDORA-2021-754af4d52b","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1961710","tags":["x_refsource_MISC"]},{"url":"https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967397","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/06/07/1","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html","name":"[debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202208-15","name":"GLSA-202208-15","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-704","description":"CWE-704","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-11T00:13:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-3578","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"isync","version":{"version_data":[{"version_value":"isync 1.3.6, isync 1.4.2"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-704"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20210607 CVE-2021-3578: possible remote code execution in isync/mbsync","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2021/06/07/1"},{"name":"FEDORA-2021-f236f9f01a","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/"},{"name":"FEDORA-2021-754af4d52b","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1961710","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1961710"},{"name":"https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/","refsource":"MISC","url":"https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1967397","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967397"},{"name":"https://www.openwall.com/lists/oss-security/2021/06/07/1","refsource":"MISC","url":"https://www.openwall.com/lists/oss-security/2021/06/07/1"},{"name":"[debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html"},{"name":"GLSA-202208-15","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-15"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2021/06/07/1","name":"[oss-security] 20210607 CVE-2021-3578: possible remote code execution in isync/mbsync","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U75UFEWRAZYKVL5NHMPBUOLWN3WXTOEI/","name":"FEDORA-2021-f236f9f01a","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RPIDLIJKNRJHUVBCL7QGAPAAVPIHQGXK/","name":"FEDORA-2021-754af4d52b","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1961710","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967397","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2021/06/07/1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/07/msg00001.html","name":"[debian-lts-announce] 20220701 [SECURITY] [DLA 3066-1] isync security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-15","name":"GLSA-202208-15","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:01:07.795Z"}}]}}}