search menu icon-carat-right cmu-wordmark

CERT Coordination Center

MIT Kerberos V5 ASN.1 decoder fails to perform bounds checking on data element length fields

Vulnerability Note VU#587579

Original Release Date: 2003-01-31 | Last Revised: 2003-04-04

Overview

The MIT Kerberos V5 implementation contains an ASN.1 decoding flaw that may allow remote attackers to crash affected Kerberos applications.

Description

Kerberos V5 protocol messages are defined using Abstract Syntax Notation One (ASN.1), a formal language that allows protocol specifications to be easily encoded for network transmission. For example, each data element in a given protocol message is encoded with additional information that indicates the type and length of the supplied data. This standardized format allows the recipient of the message to interpret the data elements and handle them appropriately.

The ASN.1 decoder included with MIT Kerberos V5 fails to perform bounds checking on the length values supplied with each data element. In some cases, an incoming message can contain a large unsigned data element length value that is misinterpreted as a negative signed value. When an affected Key Distribution Center (KDC) or other Kerberos application attempts to allocate negative or unreasonably large amounts of storage, an error condition will occur that may cause the application to crash.

Impact

This vulnerability allows remote attackers to crash affected applications, resulting in a denial of service condition.

Solution

This vulnerability was addressed in MIT Kerberos V5 1.2.5, released on April 30, 2002. MIT krb5 Security Advisory 2003-001 provides additional information from MIT and is available at:

http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2003-001-multiple.txt

For information regarding other vendors who may be affected, please see the vendor section of this document.

Vendor Information

587579
 

View all 18 vendors View less vendors


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

The reporter of this vulnerability wishes to remain anonymous.

This document was written by Jeffrey P. Lanza.

Other Information

CVE IDs: CVE-2002-0036
Severity Metric: 31.50
Date Public: 2003-01-28
Date First Published: 2003-01-31
Date Last Updated: 2003-04-04 20:02 UTC
Document Revision: 43

Sponsored by CISA.