Bug 1861975 (CVE-2020-16094)

Summary: CVE-2020-16094 claws-mail: malicious IMAP server can trigger stack consumption
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andreas.bierfert, bugs.michael
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-30 07:27:50 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: 1861976    
Bug Blocks:    

Description Dhananjay Arunesh 2020-07-30 05:12:00 UTC
In imap_scan_tree_recursive in Claws Mail through 3.17.6, a malicious IMAP server can trigger stack consumption because of unlimited recursion into subdirectories during a rebuild of the folder tree.

References:
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4313

Comment 1 Dhananjay Arunesh 2020-07-30 05:12:29 UTC
Created claws-mail tracking bugs for this issue:

Affects: fedora-all [bug 1861976]

Comment 2 Product Security DevOps Team 2020-07-30 07:27:50 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 Michael Schwendt 2020-07-31 13:44:43 UTC
Seems this was reported to upstream in February without a response, and referring to a "malicious IMAP server" makes it mostly something of academical interest only. There are other corner-cases left that can crash Claws Mail.