Bug 1800491 (CVE-2020-7046)

Summary: CVE-2020-7046 dovecot: Attacker can cause submission-login and lmtp processes to be exhausted leading to DoS
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anon.amish, bennie.joubert, janfrode, mailinglists, mhlavink, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dovecot 2.3.9.3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-17 05:37:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1800498    

Description Marian Rehak 2020-02-07 09:18:43 UTC
lib-smtp doesn't handle truncated command parameters properly, resulting in an infinite loop taking 100% CPU for the process and causing a DoS.

Comment 1 Huzaifa S. Sidhpurwala 2020-02-17 05:35:39 UTC
This issue is already addressed in Fedora via the following updates:

Fedora-30-testing: http://koji.fedoraproject.org/packages/dovecot/2.3.9.3/1.fc30
Fedora-31-testing: http://koji.fedoraproject.org/packages/dovecot/2.3.9.3/1.fc31

Comment 2 Huzaifa S. Sidhpurwala 2020-02-17 05:35:42 UTC
External References:

https://dovecot.org/pipermail/dovecot-news/2020-February/000431.html

Comment 3 Huzaifa S. Sidhpurwala 2020-02-17 05:37:20 UTC
Upstream commit:

https://github.com/dovecot/core/commit/ed4b7d5d1b30964216d61d3090a7b47a957f5b26