GLSA-201202-05 : Heimdal: Arbitrary code execution

critical Nessus Plugin ID 58101
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201202-05 (Heimdal: Arbitrary code execution)

A boundary error in the 'encrypt_keyid()' function in appl/telnet/libtelnet/encrypt.c of the telnet daemon and client could cause a buffer overflow.
Impact :

An unauthenticated remote attacker may be able to execute arbitrary code with the privileges of the user running the telnet daemon or client, or cause Denial of Service.
Workaround :

There is no known workaround at this time.


All Heimdal users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-crypt/heimdal-1.5.1-r1'

See Also

Plugin Details

Severity: Critical

ID: 58101

File Name: gentoo_GLSA-201202-05.nasl

Version: 1.14

Type: local

Published: 2/23/2012

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Critical

Score: 9


Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:F/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:heimdal, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/22/2012

Exploitable With

Core Impact

Metasploit (Linux BSD-derived Telnet Service Encryption Key ID Buffer Overflow)

ExploitHub (EH-11-760)

Reference Information

CVE: CVE-2011-4862

BID: 51182

GLSA: 201202-05