{"id":"CVE-2014-4345","published":"2014-08-14T01:00:00Z","modified":"2024-08-06T11:12:35Z","title":"Off-by-one error in the krb5_encode_krbsecretkey function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08085,"percentile":0.94941,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2014-August/136640.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/61353","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/95212","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/krb5/krb5/commit/dc7ed55c689d57de7f7408b34631bf06fec9dab1","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/59993","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://krbdev.mit.edu/rt/Ticket/Display.html?id=7980","tags":["x_refsource_CONFIRM"]},{"url":"http://linux.oracle.com/errata/ELSA-2014-1255.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2014-August/137056.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-08/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0439.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://blogs.oracle.com/sunsecurity/entry/cve_2014_4345_numeric_errors","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/61314","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2014-08/msg00009.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securitytracker.com/id/1030705","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1128157","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/60535","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.osvdb.org/109908","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/bid/69168","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.debian.org/security/2014/dsa-3000","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:165","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://security.gentoo.org/glsa/glsa-201412-53.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/59415","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2014-001.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1255.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/60776","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://github.com/krb5/krb5/pull/181","tags":["x_refsource_CONFIRM"]},{"url":"http://advisories.mageia.org/MGASA-2014-0345.html","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/59102","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":18.99}]},"summary":{"text":"An off-by-one error in the krb5_encode_krbsecretkey function, located in the LDAP KDB module (plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c) of kadmind in MIT Kerberos 5 (krb5), can lead to a buffer overflow. An attacker who is a remote authenticated user can exploit it by issuing a series of \"cpw -keepold\" commands, causing a denial of service or possibly arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:53:35Z"},"euvd":{"id":"EUVD-2014-4272","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2014-4345-family-cve-2014-4345","children":[{"from":"CVE-2014-4345","to":"CVE-2014-5354","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c"],"commits":["https://github.com/krb5/krb5/commit/dc7ed55c689d57de7f7408b34631bf06fec9dab1","https://github.com/krb5/krb5/commit/04038bf3633c4b909b5ded3072dc88c8c419bf16"],"basis":"shared function","functions":["krb5_encode_krbsecretkey"]}]}]}}