Correct a pair of buffer overflows in the telnet(1) command:
authorDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 28 Mar 2005 18:03:33 +0000 (18:03 +0000)
committerDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 28 Mar 2005 18:03:33 +0000 (18:03 +0000)
commit26050778cff184e2dca67f11c42cb938e969dbd8
tree7b9154c07ab1e43671501bcd754b0529fc578f6f
parentb9829121f2d8eb40ae3cbf205826c66d22ea2caf
Correct a pair of buffer overflows in the telnet(1) command:

CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
functions.

(CAN-2005-0469) A global uninitialized data section buffer overflow in
slc_add_reply() and related functions.

As a result of these vulnerabilities, it may be possible for a malicious
telnet server or active network attacker to cause telnet(1) to execute
arbitrary code with the privileges of the user running it.

These fixes are based in part on patches
Submitted by:   Solar Designer <solar@openwall.com>
With calibration with the FreeBSD security officer: Jacques Vidrine <nectar@freebsd.org>
crypto/telnet/telnet/telnet.c
usr.bin/telnet/telnet.c