IRSSI-SA-2017-10 Irssi Security Advisory [1]
CVE-2017-15228, CVE-2017-15227, CVE-2017-15721, CVE-2017-15723, CVE-2017-15722
Description
Multiple vulnerabilities have been located in Irssi.
-
When installing themes with unterminated colour formatting sequences, Irssi may access data beyond the end of the string. (CWE-126) Found by Hanno Böck.
CVE-2017-15228 [2] was assigned to this issue.
-
While waiting for the channel synchronisation, Irssi may incorrectly fail to remove destroyed channels from the query list, resulting in use after free conditions when updating the state later on. Found by Joseph Bisch. (CWE-416 caused by CWE-672)
CVE-2017-15227 [3] was assigned to this issue.
-
Certain incorrectly formatted DCC CTCP messages could cause NULL pointer dereference. Found by Joseph Bisch. This is a separate, but similar issue to CVE-2017-9468. (CWE-690)
CVE-2017-15721 [4] was assigned to this issue.
-
Overlong nicks or targets may result in a NULL pointer dereference while splitting the message found by Joseph Bisch.
CVE-2017-15723 [5] was assigned to this issue.
-
In certain cases Irssi may fail to verify that a Safe channel ID is long enough, causing reads beyond the end of the string. Found by Joseph Bisch. (CWE-126)
CVE-2017-15722 [6] was assigned to this issue.
Impact
-
May result in denial of service (remote crash).
-
May result in denial of service (remote crash).
-
May result in denial of service (remote crash).
-
May result in denial of service (remote crash).
-
May affect the stability of Irssi.
Affected versions
-
All Irssi versions that we observed
-
All Irssi versions that we observed
-
All Irssi versions that we observed
-
Irssi 0.8.17 and later
-
All Irssi versions that we observed
Fixed in
Irssi 1.0.5
Recommended action
Upgrade to Irssi 1.0.5. Irssi 1.0.5 is a maintenance release in the 1.0 series, without any new features.
After installing the updated packages, one can issue the /upgrade command to load the new binary. TLS connections will require /reconnect.
Mitigating facts
-
requires user to install malicious or broken theme file
-
requires a broken ircd or control over the ircd
-
requires a broken ircd or control over the ircd
-
irc servers typically have length limits in place
-
requires a broken ircd or control over the ircd
Patch
References
- https://irssi.org/security/irssi_sa_2017_10.txt
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15228
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15227
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15721
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15723
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15722