Bug 1928963 (CVE-2021-20247) - CVE-2021-20247 isync/mbsync: mailbox names returned by IMAP LIST/LSUB not validated
Summary: CVE-2021-20247 isync/mbsync: mailbox names returned by IMAP LIST/LSUB not val...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-20247
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1931597 1931598
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-15 21:50 UTC by Pedro Sampaio
Modified: 2021-02-22 19:02 UTC (History)
3 users (show)

Fixed In Version: mbsync 1.35, mbsync 1.4.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in mbsync. Validations of the mailbox names returned by IMAP LIST/LSUB do not occur allowing a malicious or compromised server to use specially crafted mailbox names containing '..' path components to access data outside the designated mailbox on the opposite end of the synchronization channel. The highest threat from this vulnerability is to data confidentiality and integrity.
Clone Of:
Environment:
Last Closed: 2021-02-22 19:02:02 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2021-02-15 21:50:04 UTC
A flaw was found in mbsync before v1.3.5 and v1.4.1. mbsync doesn't validate the mailbox names returned by IMAP LIST/LSUB, which allows a malicious/compromised server to use specially crafted mailbox names containing '..' path components to access data outside the designated mailbox on the opposite end of the synchronization channel.

Comment 1 Guilherme de Almeida Suckevicz 2021-02-22 18:26:10 UTC
External References:

https://www.openwall.com/lists/oss-security/2021/02/22/1

Comment 2 Guilherme de Almeida Suckevicz 2021-02-22 18:26:31 UTC
Created isync tracking bugs for this issue:

Affects: epel-all [bug 1931598]
Affects: fedora-all [bug 1931597]

Comment 3 Product Security DevOps Team 2021-02-22 19:02: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.


Note You need to log in before you can comment on or make changes to this bug.