Buffer overflow in WeeChat - CVE-2020-8955
Published: February 26, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing IRC messages in irc_mode_channel_update() function in plugins/irc/irc-mode.c in WeeChat. A remote attacker can send a specially crafted IRC message 324 (channel mode), trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Gentoo Linux
Fedora
SUSE Linux
Opensuse
weechat (Alpine package)
weechat
How to mitigate CVE-2020-8955
weechat (Alpine package) - addressed in versions 2.7.1-r0, 2.8-r0
weechat - addressed in versions 2.7.1-1.el7, 2.7.1-1.fc30, 2.7.1-1.fc31, 2.7.1-1.fc32