CVE-2010-1321: Null Pointer Dereference
A null pointer dereference flaw was found in the MIT krb5 GSS-API library where certain invalid GSS-API tokens could cause a GSS-API acceptor (server, such as kadmind) to crash. An authenticated remote attacker could take advantage of this flaw to cause GSS-API application servers, that link against the GSS-API library, to crash.
This flaw affects all known releases of MIT krb5 up to and including krb5-1.8.1.
A patch to correct this is available from http://web.mit.edu/kerberos/advisories/2010-005-patch.txt
This issue is known as CVE-2010-1321.
Acknowledgements:
Red Hat would like to thank the MIT Kerberos Team for responsibly reporting this issue. Upstream acknowledges Shawn Emery of Oracle as the original reporter.
Other sources
The kgacceptkrb5 function in krb5/acceptseccontext.c in the GSS-API library in MIT Kerberos 5 (aka krb5) through 1.7.1 and 1.8 before 1.8.2, as used in kadmind and other applications, does not properly check for invalid GSS-API tokens, which allows remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) via an AP-REQ message in which the authenticator's checksum field is missing.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.8.2
Event History
Frequently Asked Questions
What is the severity of CVE-2010-1321?
CVE-2010-1321 has been classified as a moderate severity vulnerability that could lead to denial of service.
How do I fix CVE-2010-1321?
To fix CVE-2010-1321, upgrade your MIT Kerberos 5 implementation to version 1.8.2 or later.
Which software versions are affected by CVE-2010-1321?
CVE-2010-1321 affects MIT Kerberos 5 versions up to 1.8.1 and Debian and Ubuntu versions listed in the vulnerability report.
Can CVE-2010-1321 be exploited remotely?
Yes, CVE-2010-1321 can be exploited by remote authenticated users.
What is the impact of CVE-2010-1321 on systems?
The impact of CVE-2010-1321 can result in denial of service, making systems unresponsive due to improper handling of GSS-API tokens.