netkit-telnetd: Buffer overflow The netkit-telnetd telnet client is vulnerable to a buffer overflow, which could allow a malicious telnet server operator to execute arbitrary code. netkit-telnetd March 31, 2005 March 31, 2005: 01 87211 remote 0.17-r6 0.17-r6

netkit-telnetd provides standard Linux telnet client and server.

A buffer overflow has been identified in the slc_add_reply() function of netkit-telnetd client, where a large number of SLC commands can overflow a fixed size buffer.

Successful explotation would require a vulnerable user to connect to an attacker-controlled host using telnet, potentially executing arbitrary code with the permissions of the telnet user.

There is no known workaround at this time.

All netkit-telnetd users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/netkit-telnetd-0.17-r6"
CAN-2005-0469 iDEFENSE Advisory 03-28-05 koon formula7 koon