CVE-2007-2442 Use after free in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code on MIT Kerberos 5 servers by sending a zero-length RPC credential, triggering a use-after-free in kadmind.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-2442?

CVE-2007-2442 is a critical use after free vulnerability in Canonical Ubuntu Linux, published on 26 Jun 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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: CWE-824

Which versions are affected by CVE-2007-2442?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mit Kerberos 5.

How do I fix CVE-2007-2442?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2007-2442 being exploited?

There is no known exploitation of CVE-2007-2442 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-2442, GHSA-6hfh-4j58-7r89.

Is CVE-2007-2442 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free