oss-sec mailing list archives

CVE-2021-3657: multiple buffer overflows in isync/mbsync


From: Oswald Buddenhagen <oswald.buddenhagen () gmx de>
Date: Fri, 3 Dec 2021 12:24:32 +0100

description:

A flaw was found in mbsync versions prior to 1.4.4. Due to inadequate
handling of extremely large (>=2GiB) IMAP literals, malicious or
compromised IMAP servers, and hypothetically even external email
senders, could cause several different buffer overflows, which could
conceivably be exploited for remote code execution.

mitigation:

upgrade to the freshly released v1.4.4 available from https://sourceforge.net/projects/isync/files/isync/ , or apply the matching attached patch. note that while a patch for v1.3.x is provided, no upstream release will be made any more.

details:

i'm not sure it's actually possible to pull off RCE with these. a
non-server attacker would be additionally impaired by message size
limitations and being unable to predict the exact size of the headers
stored in the box, so they would likely need an account on the same
liberally configured system, apart from knowing to target mbsync.

Attachment: CVE-2021-3657-buffer-overflows-on-big-1.4.patch
Description:

Attachment: CVE-2021-3657-buffer-overflows-on-big-1.3.patch
Description:


Current thread: