GLSA-200406-21 : mit-krb5: Multiple buffer overflows in krb5_aname_to_localname

critical Nessus Plugin ID 14532


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


The remote host is affected by the vulnerability described in GLSA-200406-21 (mit-krb5: Multiple buffer overflows in krb5_aname_to_localname)

The library function krb5_aname_to_localname() contains multiple buffer overflows. This is only exploitable if explicit mapping or rules-based mapping is enabled. These are not enabled as default.
With explicit mapping enabled, an attacker must authenticate using a principal name listed in the explicit mapping list.
With rules-based mapping enabled, an attacker must first be able to create arbitrary principal names either in the local realm Kerberos realm or in a remote realm from which the local realm's service are reachable by cross-realm authentication.
Impact :

An attacker could use these vulnerabilities to execute arbitrary code with the permissions of the user running mit-krb5, which could be the root user.
Workaround :

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.


mit-krb5 users should upgrade to the latest version:
# emerge sync # emerge -pv '>=app-crypt/mit-krb5-1.3.3-r1' # emerge '>=app-crypt/mit-krb5-1.3.3-r1'

See Also

Plugin Details

Severity: Critical

ID: 14532

File Name: gentoo_GLSA-200406-21.nasl

Version: 1.18

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mit-krb5, cpe:/o:gentoo:linux

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

Patch Publication Date: 6/29/2004

Vulnerability Publication Date: 6/1/2004

Reference Information

CVE: CVE-2004-0523

GLSA: 200406-21