Bug 1295353 (CVE-2015-8708)

Summary: CVE-2015-8708 claws-mail: Stack overflow in conv_euctojis()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
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, kupo, ssorce
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:46:56 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: 1295355, 1295356    
Bug Blocks:    

Description Adam Mariš 2016-01-04 09:01:59 UTC
A stack-based buffer overflow has been found in conv_euctojis() after applying incomplete patch for CVE-2015-8614. In conv_euctojis() the comparison is with outlen - 3, but each pass through the loop uses up to 5 bytes and the rest of the function may add another 4 bytes. The comparison should presumably be '<= outlen - 9' or equivalently '< outlen - 8'.

CVE assignment:

http://www.openwall.com/lists/oss-security/2015/12/31/3

Comment 1 Adam Mariš 2016-01-04 09:02:34 UTC
Created claws-mail tracking bugs for this issue:

Affects: fedora-all [bug 1295355]
Affects: epel-all [bug 1295356]

Comment 3 Michael Schwendt 2016-01-13 15:44:03 UTC
There is a new [albeit unconfirmed] patch suggestion:
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1623&action=edit

Comment 4 Fedora Update System 2016-02-08 03:23:05 UTC
claws-mail-3.13.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-02-10 10:50:56 UTC
claws-mail-3.13.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Product Security DevOps Team 2019-06-08 02:46:56 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.