Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1532768 - (CVE-2017-15132) CVE-2017-15132 dovecot: Auth leaks memory if SASL authentication is aborted
CVE-2017-15132 dovecot: Auth leaks memory if SASL authentication is aborted
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180109,repor...
: Reopened, Security
Depends On: 1532769 1551758 1551759 1538717
Blocks: 1538713
  Show dependency treegraph
 
Reported: 2018-01-09 13:54 EST by Pedro Sampaio
Modified: 2018-08-31 17:54 EDT (History)
7 users (show)

See Also:
Fixed In Version: dovecot 2.2.34, dovecot 2.3.1
Doc Type: If docs needed, set a value
Doc Text:
Aborting the process of SASL authentication can lead to a memory leak when the same login processes are reused. An attacker could use this flaw to cause a denial of service due to memory exhaustion.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-19 15:23:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pedro Sampaio 2018-01-09 13:54:56 EST
A flaw was found in dovecot 2.0 up to 2.2.33 and 2.3.0. A abort of SASL authentication results in a memory leak in Dovecot auth client used by login processes. The leak has impact in high performance configuration where same login processes are reused and can cause the process to crash due to memory exhaustion.

Upstream patch:

https://github.com/dovecot/core/commit/1a29ed2f96da1be22fa5a4d96c7583aa81b8b060.patch

https://github.com/dovecot/core/commit/a9b135760aea6d1790d447d351c56b78889dac22.patch
Comment 1 Pedro Sampaio 2018-01-09 13:55:02 EST
Acknowledgments:

Name: The Dovecot Project
Comment 3 Pedro Sampaio 2018-01-25 11:12:20 EST
Created dovecot tracking bugs for this issue:

Affects: fedora-all [bug 1538717]
Comment 4 Pedro Sampaio 2018-01-25 11:18:57 EST
Mitigation:

This issue can be mitigated on vulnerable systems by limiting the login process to a single request per process, which is also the default value.
Comment 6 Pedro Yóssis Silva Barbosa 2018-02-19 15:32:56 EST
A flaw was found in the original upstream fix, this additional fix is needed: 
https://github.com/dovecot/core/commit/a9b135760aea6d1790d447d351c56b78889dac22.patch see this post for details: http://seclists.org/oss-sec/2018/q1/119
Comment 9 Pedro Yóssis Silva Barbosa 2018-03-05 17:04:14 EST
External References:

https://www.dovecot.org/list/dovecot-news/2018-February/000370.html

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