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
Acknowledgments: Name: the Dovecot project
Created dovecot tracking bugs for this issue: Affects: fedora-all [bug 1538717]
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.
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
External References: https://www.dovecot.org/list/dovecot-news/2018-February/000370.html