Distro advisory · Debian 3.0
krb5 - buffer overflow, double-free memory
Description
Vulnerability : remote code execution, denial of service Problem type : buffer overflow, double-free memory Debian-specific: no CVE Id : CAN-2005-1689 CAN-2005-1174 CAN-2005-1175
Daniel Wachdorf reported two problems in the MIT krb5 distribution used for network authentication. First, the KDC program from the krb5-kdc package can corrupt the heap by trying to free memory which has already been freed on receipt of a certain TCP connection. This vulnerability can cause the KDC to crash, leading to a denial of service. [CAN-2005-1174] Second, under certain rare circumstances this type of request can lead to a buffer overflow and remote code execution. [CAN-2005-1175]
Additionally, Magnus Hagander reported another problem in which the krb5_recvauth function can in certain circumstances free previously freed memory, potentially leading to the execution of remote code. [CAN-2005-1689]
All of these vulnerabilities are believed difficult to exploit, and no exploits have yet been discovered.
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade krb5dpkg -s krb5 | grep VersionSources