WeeChat: Multiple vulnerabilities — GLSA 201405-03

Two vulnerabilities have been found in WeeChat, the worst of which may allow execution of arbitrary code.

Affected packages

net-irc/weechat on all architectures
Affected versions < 0.3.9.2
Unaffected versions >= 0.3.9.2

Background

Wee Enhanced Environment for Chat (WeeChat) is a light and extensible console IRC client.

Description

Two vulnerabilities have been discovered in WeeChat:

  • The hook_process() function does not properly handle shell expansions (CVE-2012-5534).
  • WeeChat does not properly decode colors which could cause a heap-based buffer overflow (CVE-2012-5854).

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All WeeChat users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-irc/weechat-0.3.9.2"
 

References

Release date
May 03, 2014

Latest revision
May 03, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries