CVE Vulnerabilities

CVE-2007-2442

Access of Uninitialized Pointer

Published: Jun 26, 2007 | Modified: Apr 09, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
10 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The gssrpc__svcauth_gssapi function in the RPC library in MIT Kerberos 5 (krb5) 1.6.1 and earlier might allow remote attackers to execute arbitrary code via a zero-length RPC credential, which causes kadmind to free an uninitialized pointer during cleanup.

Weakness

The product accesses or uses a pointer that has not been initialized.

Affected Software

NameVendorStart VersionEnd Version
Kerberos_5Mit*1.6.1 (including)
Red Hat Enterprise Linux 2.1RedHatkrb5-0:1.2.2-47*
Red Hat Enterprise Linux 3RedHatkrb5-0:1.2.7-66*
Red Hat Enterprise Linux 4RedHatkrb5-0:1.3.4-49*
Red Hat Enterprise Linux 5RedHatkrb5-0:1.5-26*
Krb5Ubuntudapper*
Krb5Ubuntudevel*
Krb5Ubuntuedgy*
Krb5Ubuntufeisty*

Extended Description

If the pointer contains an uninitialized value, then the value might not point to a valid memory location. This could cause the product to read from or write to unexpected memory locations, leading to a denial of service. If the uninitialized pointer is used as a function call, then arbitrary functions could be invoked. If an attacker can influence the portion of uninitialized memory that is contained in the pointer, this weakness could be leveraged to execute code or perform other attacks. Depending on memory layout, associated memory management behaviors, and product operation, the attacker might be able to influence the contents of the uninitialized pointer, thus gaining more fine-grained control of the memory location to be accessed.

References