IRSSI-SA-2018-02 Irssi Security Advisory [1]
CVE-2018-7054, CVE-2018-7053, CVE-2018-7050, CVE-2018-7052, CVE-2018-7051
Description
Multiple vulnerabilities have been located in Irssi.
-
Use after free when server is disconnected during netsplits. Incomplete fix of CVE-2017-7191. Found by Joseph Bisch. (CWE-416, CWE-825)
CVE-2018-7054 [2] was assigned to this issue.
-
Use after free when SASL messages are received in unexpected order. Found by Joseph Bisch. (CWE-416, CWE-691)
CVE-2018-7053 [3] was assigned to this issue.
-
Null pointer dereference when an "empty" nick has been observed by Irssi. Found by Joseph Bisch. (CWE-476, CWE-475)
CVE-2018-7050 [4] was assigned to this issue.
-
When the number of windows exceed the available space, Irssi would crash due to Null pointer dereference. Found by Joseph Bisch. (CWE-690)
CVE-2018-7052 [5] was assigned to this issue.
-
Certain nick names could result in out of bounds access when printing theme strings. Found by Oss-Fuzz. (CWE-126)
CVE-2018-7051 [6] was assigned to this issue.
Affected versions
-
Irssi 1.0.0 and later
-
Irssi 0.8.18 and later
-
All Irssi versions that we observed
-
All Irssi versions that we observed
-
Irssi 0.8.7 and later
Fixed in
Irssi 1.0.7, 1.1.1
Recommended action
Upgrade to the latest stable Irssi version. Irssi 1.0.7 and 1.1.1 are maintenance release in the 1.0 and 1.1 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 a non-conforming ircd
-
requires a broken ircd or control over the ircd
-
depends on non-default configuration
References
- https://irssi.org/security/irssi_sa_2018_02.txt
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7054
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7053
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7050
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7052
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7051