GLSA 201405-03: WeeChat: Multiple vulnerabilities

Severity:normal
Title:WeeChat: Multiple vulnerabilities
Date:05/03/2014
Bugs: #442600
ID:201405-03

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-irc/weechat < 0.3.9.2 >= 0.3.9.2 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201405-03.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!