WeeChat: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 201405-03 / weechat
||May 03, 2014
||May 03, 2014: 1
All supported architectures
Two vulnerabilities have been found in WeeChat, the worst of which
may allow execution of arbitrary code.
Wee Enhanced Environment for Chat (WeeChat) is a light and extensible
console IRC client.
Two vulnerabilities have been discovered in WeeChat:
- The hook_process() function does not properly handle shell expansions
- WeeChat does not properly decode colors which could cause a
heap-based buffer overflow (CVE-2012-5854).
A remote attacker could entice a user to open a specially crafted script
or send messages with specially crafted colors, possibly resulting in
execution of arbitrary code with the privileges of the process, or a
Denial of Service condition.
There is no known workaround at this time.
All WeeChat users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-irc/weechat-0.3.9.2"