IRSSI-SA-2017-07 Irssi Security Advisory [1]

CVE-2017-10965, CVE-2017-10966

Description

Two vulnerabilities have been located in Irssi.

  1. When receiving messages with invalid time stamps, Irssi would try to dereference a NULL pointer. Found by Brian `geeknik' Carpenter of Geeknik Labs. (CWE-690)

    CVE-2017-10965 [2] was assigned to this issue.

  2. While updating the internal nick list, Irssi may incorrectly use the GHashTable interface and free the nick while updating it. This will then result in use-after-free conditions on each access of the hash table. Found by Brian `geeknik' Carpenter of Geeknik Labs. (CWE-416 caused by CWE-227)

    CVE-2017-10966 [3] was assigned to this issue.

Impact

  1. May result in denial of service (remote crash).

  2. Undefined behaviour.

Affected versions

  1. All Irssi versions that we observed

  2. All Irssi versions that we observed

Fixed in

Irssi 1.0.4

Upgrade to Irssi 1.0.4. Irssi 1.0.4 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

  1. requires control over the ircd

  2. should not happen with a conforming ircd

Patch

irssi/irssi@5e2632531...

References