Gentoo Logo

mit-krb5: Multiple buffer overflows in krb5_aname_to_localname


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200406-21 / mit-krb5
Release Date June 29, 2004
Latest Revision June 29, 2004: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-crypt/mit-krb5 <= 1.3.3 >= 1.3.3-r1 All supported architectures

Related bugreports: #52744


mit-krb5 contains multiple buffer overflows in the function krb5_aname_to_localname(). This could potentially lead to a complete remote system compromise.

2.  Impact Information


mit-krb5 is the free implementation of the Kerberos network authentication protocol by the Massachusetts Institute of Technology.


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.


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.

3.  Resolution Information


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:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=app-crypt/mit-krb5-1.3.3-r1"
# emerge ">=app-crypt/mit-krb5-1.3.3-r1"

4.  References


Page updated June 29, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.