portage-ng / portage / net-misc / netkit-telnetd / 0.17-r15
portage-ng glsa
2 advisories reference net-misc/netkit-telnetd · none place version 0.17-r15 in a vulnerable range
▸ GLSA 200503-36 netkit-telnetd: Buffer overflow this version unaffected normal remote 2005-03-31

The netkit-telnetd telnet client is vulnerable to a buffer overflow, which could allow a malicious telnet server operator to execute arbitrary code.

Announced
2005-03-31
Revised
2005-03-31
Access
remote
Bugs
#87211
Advisory
https://security.gentoo.org/glsa/200503-36

Affected packages

PackageArchVulnerableUnaffected
net-misc/netkit-telnetd*< 0.17-r6>= 0.17-r6

Background

netkit-telnetd provides standard Linux telnet client and server.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

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

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/netkit-telnetd-0.17-r6"

References

▸ GLSA 200410-03 NetKit-telnetd: buffer overflows in telnet and telnetd this version unaffected high remote 2004-10-05

Buffer overflows exist in the telnet client and daemon provided by netkit-telnetd, which could possibly allow a remote attacker to gain root privileges and compromise the system.

Announced
2004-10-05
Revised
2004-10-05
Access
remote
Bugs
#64632
Advisory
https://security.gentoo.org/glsa/200410-03

Affected packages

PackageArchVulnerableUnaffected
net-misc/netkit-telnetd*<= 0.17-r3>= 0.17-r4

Background

NetKit-telnetd is a standard Linux telnet client and server from the NetKit utilities.

Description

A possible buffer overflow exists in the parsing of option strings by the telnet daemon, where proper bounds checking is not applied when writing to a buffer. Additionaly, another possible buffer overflow has been found by Josh Martin in the handling of the environment variable HOME.

Impact

A remote attacker sending a specially-crafted options string to the telnet daemon could be able to run arbitrary code with the privileges of the user running the telnet daemon, usually root. Furthermore, an attacker could make use of an overlong HOME variable to cause a buffer overflow in the telnet client, potentially leading to the local execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

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

# emerge sync

# emerge -pv ">=net-misc/netkit-telnetd-0.17-r4"
# emerge ">=net-misc/netkit-telnetd-0.17-r4"

References