Debian DSA-757-1 : krb5 - buffer overflow, double-free memory

High Nessus Plugin ID 19219

Synopsis

The remote Debian host is missing a security-related update.

Description

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.

Solution

Upgrade the krb5 package.

For the old stable distribution (woody), these problems have been fixed in version 1.2.4-5woody10. Note that woody's KDC does not have TCP support and is not vulnerable to CAN-2005-1174.

For the stable distribution (sarge), these problems have been fixed in version 1.3.6-2sarge2.

See Also

http://www.debian.org/security/2005/dsa-757

Plugin Details

Severity: High

ID: 19219

File Name: debian_DSA-757.nasl

Version: 1.20

Type: local

Agent: unix

Published: 2005/07/18

Updated: 2018/08/09

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:krb5, cpe:/o:debian:debian_linux:3.0, cpe:/o:debian:debian_linux:3.1

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 2005/07/17

Vulnerability Publication Date: 2005/07/12

Reference Information

CVE: CVE-2005-1174, CVE-2005-1175, CVE-2005-1689

CERT: 259798, 623332, 885830

DSA: 757

CWE: 119