CVE-2009-0845
The spnego_gss_accept_sec_context function in lib/gssapi/spnego/spnego_mech.c in MIT Kerberos 5 (aka krb5) 1.5 through 1.6.3, when…
Check your servers for CVE-2009-0845
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-0845 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The spnego_gss_accept_sec_context function in lib/gssapi/spnego/spnego_mech.c in MIT Kerberos 5 (aka krb5) 1.5 through 1.6.3, when SPNEGO is used, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via invalid ContextFlags data in the reqFlags field in a negTokenInit token.
Exploitation
EPSS 5.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 93.7% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-0845 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0845RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0845Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-0845
trivy image --scanners vuln IMAGE | grep CVE-2009-0845
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- VU#662091 kb.cert.org · third party advisory
- 34347 secunia.com · third party advisory
- http://support.apple.com/kb/HT3549 support.apple.com
- http://support.avaya.com/elmodocs2/security/ASA-2009-142.htm support.avaya.com
- http://src.mit.edu/fisheye/browse/krb5/trunk/src/lib/gssapi/spnego/spnego_mech.c?r1=21875&r2=22084 src.mit.edu
- RHSA-2009:0408 redhat.com · vendor advisory
- 34637 secunia.com · third party advisory
- 34640 secunia.com · third party advisory
- 35074 secunia.com · third party advisory
- MDVSA-2009:082 mandriva.com · vendor advisory
- 256728 sunsolve.sun.com · vendor advisory
- GLSA-200904-09 security.gentoo.org · vendor advisory
16 more
- APPLE-SA-2009-05-12 lists.apple.com · vendor advisory
- USN-755-1 ubuntu.com · vendor advisory
- 34630 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21396120 www-01.ibm.com
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2009-001.txt web.mit.edu
- 34617 secunia.com · third party advisory
- 34628 secunia.com · third party advisory
- 34734 secunia.com · third party advisory
- TA09-133A us-cert.gov · third party advisory
- 34622 secunia.com · third party advisory
- http://krbdev.mit.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=6402 krbdev.mit.edu
- FEDORA-2009-2852 redhat.com · vendor advisory
- FEDORA-2009-2834 redhat.com · vendor advisory
- http://wiki.rpath.com/Advisories:rPSA-2009-0058 wiki.rpath.com
- http://src.mit.edu/fisheye/changelog/krb5/?cs=22084 src.mit.edu
- 34594 secunia.com · third party advisory
Other references
- http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5047181.html support.novell.com
- 20090407 MITKRB5-SA-2009-001: multiple vulnerabilities in SPNEGO, ASN.1 decoder [CVE-2009-0844 CVE-2009-0845… securityfocus.com · mailing list
- 34257 securityfocus.com · vdb entry
- ADV-2009-0847 vupen.com · vdb entry
- http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5047180.html support.novell.com
- ADV-2009-0976 vupen.com · vdb entry
- ADV-2009-1057 vupen.com · vdb entry
- kerberos-spnego-dos(49448) exchange.xforce.ibmcloud.com · vdb entry
- oval:org.mitre.oval:def:6449 oval.cisecurity.org · vdb entry, signature
- ADV-2009-2248 vupen.com · vdb entry
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0058 wiki.rpath.com
- ADV-2009-1297 vupen.com · vdb entry
4 more
- 1021867 securitytracker.com · vdb entry
- oval:org.mitre.oval:def:10044 oval.cisecurity.org · vdb entry, signature
- 20090407 rPSA-2009-0058-1 krb5 krb5-server krb5-services krb5-test krb5-workstation securityfocus.com · mailing list
- ADV-2009-1106 vupen.com · vdb entry
Source: the record CVE-2009-0845 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse