Bug 2028932 (CVE-2021-3657)

Summary: CVE-2021-3657 isync: buffer overflows due to inadequate handling of extremely large IMAP literals
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: lkundrak, mail
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: isync 1.4.4 Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-03 19:09:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2028933, 2028934    
Bug Blocks: 2027980    

Description Guilherme de Almeida Suckevicz 2021-12-03 18:39:15 UTC
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.

Reference:
https://www.openwall.com/lists/oss-security/2021/12/03/1

Comment 1 Guilherme de Almeida Suckevicz 2021-12-03 18:39:32 UTC
Created isync tracking bugs for this issue:

Affects: epel-all [bug 2028934]
Affects: fedora-all [bug 2028933]

Comment 2 Product Security DevOps Team 2021-12-03 19:09:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.