CVE-2014-4345
Off-by-one error in the krb5_encode_krbsecretkey function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c in the LDAP KDB module in…
Check your servers for CVE-2014-4345
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-2014-4345 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
Off-by-one error in the krb5_encode_krbsecretkey function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c in the LDAP KDB module in kadmind in MIT Kerberos 5 (aka krb5) 1.6.x through 1.11.x before 1.11.6 and 1.12.x before 1.12.2 allows remote authenticated users to cause a denial of service (buffer overflow) or possibly execute arbitrary code via a series of "cpw -keepold" commands.
Exploitation
EPSS 8.08%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.5% of all scored CVEs. Scores of 28 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-2014-4345 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2014-4345RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2014-4345Alpine
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-2014-4345
trivy image --scanners vuln IMAGE | grep CVE-2014-4345
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
- FEDORA-2014-9315 lists.fedoraproject.org · vendor advisory
- 61353 secunia.com · third party advisory
- https://github.com/krb5/krb5/commit/dc7ed55c689d57de7f7408b34631bf06fec9dab1 github.com
- 59993 secunia.com · third party advisory
- http://krbdev.mit.edu/rt/Ticket/Display.html?id=7980 krbdev.mit.edu
- http://linux.oracle.com/errata/ELSA-2014-1255.html linux.oracle.com
- FEDORA-2014-9305 lists.fedoraproject.org · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html oracle.com
- openSUSE-SU-2014:1043 lists.opensuse.org · vendor advisory
- RHSA-2015:0439 rhn.redhat.com · vendor advisory
- https://blogs.oracle.com/sunsecurity/entry/cve_2014_4345_numeric_errors blogs.oracle.com
- 61314 secunia.com · third party advisory
14 more
- SUSE-SU-2014:1028 lists.opensuse.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1128157 bugzilla.redhat.com
- 60535 secunia.com · third party advisory
- DSA-3000 debian.org · vendor advisory
- MDVSA-2014:165 mandriva.com · vendor advisory
- GLSA-201412-53 security.gentoo.org · vendor advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 kb.juniper.net
- 59415 secunia.com · third party advisory
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2014-001.txt web.mit.edu
- RHSA-2014:1255 rhn.redhat.com · vendor advisory
- 60776 secunia.com · third party advisory
- https://github.com/krb5/krb5/pull/181 github.com
- http://advisories.mageia.org/MGASA-2014-0345.html advisories.mageia.org
- 59102 secunia.com · third party advisory
Other references
- kerberos-cve20144345-bo(95212) exchange.xforce.ibmcloud.com · vdb entry
- 1030705 securitytracker.com · vdb entry
- 109908 osvdb.org · vdb entry
- 69168 securityfocus.com · vdb entry
Source: the record CVE-2014-4345 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