SB2020021223 - Multiple vulnerabilities in WeeChat
Published: February 12, 2020 Updated: March 25, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Buffer overflow (CVE-ID: CVE-2020-8955)
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.
2) Buffer overflow (CVE-ID: CVE-2020-9760)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when a new IRC message 005 is received with longer nick prefixes. A remote attacker can send a specially crafted message 005, trigger memory corruption and cause a denial of service condition on the target system when a new mode is set for a nick.
3) NULL pointer dereference (CVE-ID: CVE-2020-9759)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in the "callback" function. A remote attacker can send a specially crafted message 352 (who) and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://github.com/weechat/weechat/commit/6f4f147d8e86adf9ad34a8ffd7e7f1f23a7e74da
- https://weechat.org/doc/security/
- https://github.com/weechat/weechat/commit/40ccacb4330a64802b1f1e28ed9a6b6d3ca9197f
- https://lists.debian.org/debian-lts-announce/2020/03/msg00031.html
- https://github.com/weechat/weechat/commit/9904cb6d2eb40f679d8ff6557c22d53a3e3dc75a