Bug 1500077 (CVE-2017-14727)

Summary: CVE-2017-14727 weechat: Uninitialized buffer used in logger plugin
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gchamoul, i, karlthered, niveusluna, peter.borsa
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: weechat 1.9.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 11:57:11 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: 1500078    
Bug Blocks:    

Description Pedro Sampaio 2017-10-09 20:00:57 UTC
Date/time conversion specifiers are expanded after replacing buffer local variables in name of log files. In some cases, this can lead to an error in function strftime and a crash caused by the use of an uninitialized buffer. 

Upstream patch:

https://github.com/weechat/weechat/commit/f105c6f0b56fb5687b2d2aedf37cb1d1b434d556

References:

https://weechat.org/news/98/20170923-Version-1.9.1-security-release/
https://bugzilla.suse.com/show_bug.cgi?id=1060140

Comment 1 Pedro Sampaio 2017-10-09 20:01:30 UTC
Created weechat tracking bugs for this issue:

Affects: epel-all [bug 1500078]