Bug 1696152 (CVE-2019-7524) - CVE-2019-7524 dovecot: Buffer overflow in indexer-worker process results in privilege escalation
Summary: CVE-2019-7524 dovecot: Buffer overflow in indexer-worker process results in p...
Alias: CVE-2019-7524
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1696156 1700398
Blocks: 1696154
TreeView+ depends on / blocked
Reported: 2019-04-04 08:55 UTC by Dhananjay Arunesh
Modified: 2021-02-16 22:08 UTC (History)
5 users (show)

Fixed In Version: dovecot, dovecot
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-03-31 22:33:50 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1062 0 None None None 2020-03-31 19:17:55 UTC

Description Dhananjay Arunesh 2019-04-04 08:55:12 UTC
In Dovecot before and 2.3.x before, a local attacker can cause a buffer overflow in the indexer-worker process, which can be used to elevate to root. This occurs because of missing checks in the fts and pop3-uidl components.


Comment 1 Dhananjay Arunesh 2019-04-04 08:57:37 UTC
External References:


Comment 2 Dhananjay Arunesh 2019-04-04 08:59:30 UTC
Created dovecot tracking bugs for this issue:

Affects: fedora-all [bug 1696156]

Comment 3 Huzaifa S. Sidhpurwala 2019-04-16 12:12:56 UTC

Dovecot during its normal operation creates index files which makes reading of the email easier. Each inbox has a set of index files which are created from the emails in the inbox. When index files are disabled they are stored in memory. Only local user who owns the inbox for the particular account has access to the index files.

In order to trigger the security flaw, the attacker needs to have local access to the dovecot.index.log file and must be able to manipulate it. Later when dovecot indexer-worker tries to parse the file, it could result in a stack-based buffer overflow and a crash. Code execution is quite possible here specially in the older versions where security technology like StackGuard etc are not enabled.

Comment 5 errata-xmlrpc 2020-03-31 19:17:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1062 https://access.redhat.com/errata/RHSA-2020:1062

Comment 6 Product Security DevOps Team 2020-03-31 22:33:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


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