CVE-2009-0846

The asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 allows…

published April 9, 2009

CVSS
—
EPSS
9%
Percentile
95.2
In the wild
Unconfirmed
What it is

🚨 A malformed DER encoding can crash your MIT Kerberos 5 daemon, making it vulnerable to simple but effective denial of service attacks! ⚠️ Think of it like a restaurant where a patron orders a dish that isn’t on the menu — the kitchen throws up its hands in confusion and shuts down! The same happens here when the asn1_decode_generaltime function encounters invalid input; it just can't handle it and crashes. An attacker could exploit this vulnerability to trigger a crash of the Kerberos daemon, leading to downtime and potential disruption of services. While the potential for arbitrary code execution exists, the impact primarily revolves around causing denial of service, which can affect authentication and authorization processes.

Put simply

Think of it like a restaurant where a patron orders a dish that isn’t on the menu — the kitchen throws up its hands in confusion and shuts down! The same happens here when the asn1_decode_generaltime function encounters invalid input; it just can't handle it and crashes. The vulnerability arises in the asn1_decode_generaltime function, where an invalid DER encoding can result in a free of an uninitialized pointer, leading to a crash or potentially arbitrary code execution.

What to do

An attacker could exploit this vulnerability to trigger a crash of the Kerberos daemon, leading to downtime and potential disruption of services. While the potential for arbitrary code execution exists, the impact primarily revolves around causing denial of service, which can affect authentication and authorization processes. To mitigate this vulnerability, upgrade to MIT Kerberos 5 version 1.6.4 or later to ensure that the ASN.1 decoder can properly handle inputs. Additionally, review your input validation mechanisms to further protect against malformed data. You’ve got this! By taking action now, you can keep your services running smoothly and maintain your security hero status! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08898 · 95.2th percentile
Published
2009-04-09T00:00Z
EPSS history
Timeline
  • 09 APR 00:00Z
    The asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 allows…
    cvelistv5