CVE-2014-4345 json
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 kadmi…
published 2014-08-14 12 y ago modified 2026-06-17 4 mo ago also EUVD-2014-4272
- cvss
- 8.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.1%
- EPSS 8.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- krb5 Debian 14, Debian 13, Debian 12 1.12.1+dfsg-7
debian advisories DEBIAN-CVE-2014-4345
- krb5 Ubuntu 14.04 LTS 1.12+dfsg-2ubuntu4.2
ubuntu advisories UBUNTU-CVE-2014-4345
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- krb5 RHEL 7 1.12.2-14.el7
- krb5-libs RHEL 7 1.12.2-14.el7
- krb5-pkinit RHEL 7 1.12.2-14.el7
- krb5-server RHEL 7 1.12.2-14.el7
- krb5-server-ldap RHEL 7 1.12.2-14.el7
- krb5-workstation RHEL 7 1.12.2-14.el7
- krb5 RHEL 5 1.6.1-80.el5_11
- krb5-libs RHEL 5 1.6.1-80.el5_11
red hat advisories RHSA-2015:0439RHSA-2014:1255RHSA-2014:1389
- krb5 openSUSE Tumbleweed 1.15-1.1
opensuse advisories openSUSE-SU-2024:10004-1
- github.com/krb5/krb5@dc7ed55 commit
- github.com/krb5/krb5#181 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-4345 updated cvss 6.0
krb5: buffer overrun in kadmind with LDAP backend (MITKRB5-SA-2014-001)
-
Red Hat Enterprise Linux (v. 5 server) krb5 1.6.1-80.el5_11, krb5-libs 1.6.1-80.el5_11, krb5-server 1.6.1-80.el5_11, krb5-server-ldap 1.6.1-80.el5_11, krb5-workstation 1.6.1-80.el5_11fixed: vendor fix RHSA-2014:1255
-
Red Hat Enterprise Linux Client (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7 Red Hat Enterprise Linux Client Optional (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7 Red Hat Enterprise Linux ComputeNode (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7fixed: vendor fix RHSA-2015:0439
-
Red Hat Enterprise Linux Desktop (v. 5 client) krb5 1.6.1-80.el5_11, krb5-libs 1.6.1-80.el5_11, krb5-server 1.6.1-80.el5_11, krb5-server-ldap 1.6.1-80.el5_11, krb5-workstation 1.6.1-80.el5_11fixed: vendor fix RHSA-2014:1255
-
Red Hat Enterprise Linux Desktop (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6fixed: vendor fix RHSA-2014:1389
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) krb5 1.6.1-80.el5_11, krb5-libs 1.6.1-80.el5_11, krb5-server 1.6.1-80.el5_11, krb5-server-ldap 1.6.1-80.el5_11, krb5-workstation 1.6.1-80.el5_11fixed: vendor fix RHSA-2014:1255
-
Red Hat Enterprise Linux HPC Node (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6 Red Hat Enterprise Linux Server (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6fixed: vendor fix RHSA-2014:1389
-
Red Hat Enterprise Linux Server (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7fixed: vendor fix RHSA-2015:0439
-
Red Hat Enterprise Linux Workstation (v. 6) krb5 1.10.3-33.el6, krb5-libs 1.10.3-33.el6, krb5-server 1.10.3-33.el6, krb5-server-ldap 1.10.3-33.el6, krb5-workstation 1.10.3-33.el6, krb5-pkinit-openssl 1.10.3-33.el6fixed: vendor fix RHSA-2014:1389
show 1 moreshow fewer
-
Red Hat Enterprise Linux Workstation (v. 7) krb5 1.12.2-14.el7, krb5-libs 1.12.2-14.el7, krb5-pkinit 1.12.2-14.el7, krb5-server 1.12.2-14.el7, krb5-server-ldap 1.12.2-14.el7, krb5-workstation 1.12.2-14.el7fixed: vendor fix RHSA-2015:0439
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.09% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
- github.com /krb5/krb5/commit/dc7ed55c689d57de7f7408b34631bf06fec9dab1
- github.com /krb5/krb5/pull/181
-
lists.fedoraproject.org
/pipermail/package-announce/2014-August/136640.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2014-August/137056.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2014-08/msg00030.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2015-0439.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-08/msg00009.html
vendor-advisory
-
debian.org
/security/2014/dsa-3000
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2014:165
vendor-advisory
-
security.gentoo.org
/glsa/glsa-201412-53.xml
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2014-1255.html
vendor-advisory
-
web.mit.edu
/kerberos/advisories/MITKRB5-SA-2014-001.txt
vendor-advisory
-
secunia.com
/advisories/61353
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/95212
vdb-entry
-
secunia.com
/advisories/59993
third-party-advisory
- krbdev.mit.edu /rt/Ticket/Display.html?id=7980
- linux.oracle.com /errata/ELSA-2014-1255.html
- oracle.com /technetwork/security-advisory/cpuoct2017-3236626.html
- blogs.oracle.com /sunsecurity/entry/cve_2014_4345_numeric_errors
-
secunia.com
/advisories/61314
third-party-advisory
-
securitytracker.com
/id/1030705
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=1128157
-
secunia.com
/advisories/60535
third-party-advisory
-
osvdb.org
/109908
vdb-entry
-
securityfocus.com
/bid/69168
vdb-entry
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10705
-
secunia.com
/advisories/59415
third-party-advisory
-
secunia.com
/advisories/60776
third-party-advisory
- advisories.mageia.org /MGASA-2014-0345.html
-
secunia.com
/advisories/59102
third-party-advisory
Sources
- CVE List CVE-2014-4345
- NVD CVE-2014-4345
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.