Bug 1912455 (CVE-2020-24386) - CVE-2020-24386 dovecot: IMAP hibernation function allows mail access
Summary: CVE-2020-24386 dovecot: IMAP hibernation function allows mail access
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-24386
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: 1912456 1913534 1913535
Blocks: 1912462
TreeView+ depends on / blocked
 
Reported: 2021-01-04 14:36 UTC by Pedro Sampaio
Modified: 2021-05-18 20:38 UTC (History)
6 users (show)

Fixed In Version: dovecot 2.3.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 20:38:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-01-04 14:36:44 UTC
A flaw was found in dovecot before version 2.3.13. When imap hibernation is active, an attacker can cause Dovecot to discover file system directory structure and access other users' emails using specially crafted command. The attacker must have valid credentials to access the mail server.

References:

https://www.openwall.com/lists/oss-security/2021/01/04/4
https://dovecot.org/pipermail/dovecot-news/2021-January/000448.html

Comment 1 Pedro Sampaio 2021-01-04 14:37:16 UTC
Created dovecot tracking bugs for this issue:

Affects: fedora-all [bug 1912456]

Comment 3 Todd Cullum 2021-01-08 00:39:30 UTC
Mitigation:

To mitigate this flaw, ensure that imap_hibernate_timeout is set to 0 or not set at all/commented out in both /etc/dovecot/dovecot.conf or /etc/dovecot/conf.d/20-imap.conf.

Comment 5 Todd Cullum 2021-01-08 01:16:02 UTC
External References:

https://dovecot.org/pipermail/dovecot-news/2021-January/000448.html

Comment 9 errata-xmlrpc 2021-05-18 15:51:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1887 https://access.redhat.com/errata/RHSA-2021:1887

Comment 10 Product Security DevOps Team 2021-05-18 20:38:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-24386


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