Bug 1967397 (CVE-2021-3578)

Summary: CVE-2021-3578 isync: unchecked pointer cast may lead to remote code execution
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: lkundrak, mail, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: isync 1.3.6, isync 1.4.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-07 21:04:02 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: 1968626, 1968627    
Bug Blocks: 1967404    
Attachments:
Description Flags
fix for isync 1.3
none
fix isync 1.4 none

Description Marian Rehak 2021-06-03 06:01:30 UTC
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.

Comment 1 Marian Rehak 2021-06-03 06:04:26 UTC
Created attachment 1788788 [details]
fix for isync 1.3

Comment 2 Marian Rehak 2021-06-03 06:10:40 UTC
Created attachment 1788789 [details]
fix isync 1.4

Comment 4 msiddiqu 2021-06-07 17:09:28 UTC
Created isync tracking bugs for this issue:

Affects: epel-all [bug 1968627]
Affects: fedora-all [bug 1968626]

Comment 5 Product Security DevOps Team 2021-06-07 21:04:02 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.