Skip to content
OpenAdvisories
Unscored CVE-2004-1189 EUVD-2004-1186GHSA-jq9g-4vpq-449j

The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, doe…

Published Dec 31, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5 (krb5) up to 1.3.5, when performing a password change, does not properly track the password policy's history count and the maximum number of keys, which can cause an array index out-of-bounds error and may allow authenticated users to execute arbitrary code via a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 krb5 1.3.6-1 —
Debian 13 krb5 1.3.6-1 —
Debian 12 krb5 1.3.6-1 —
Debian 3.0 krb5 1.2.4-5woody7 DSA-629-1
ReleasePackageFixed inAdvisory
RHEL 4 krb5 +4 1.3.4-10 RHSA-2005:045
RHEL 3 krb5 +4 1.2.7-38 RHSA-2005:012

Advisories 3

References