CVE-2004-1189Out-of-bounds Write in Kerberos 5

Severity
7.2HIGHNVD
EPSS
0.1%
top 74.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 31
Latest updateApr 29

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.

CVSS vector

AV:L/AC:L/C:C/I:C/A:CExploitability: 3.9 | Impact: 10.0

Affected Packages2 packages

Debianmit/krb5< 1.3.6-1+3
NVDmit/kerberos_51.3.5

Patches

🔴Vulnerability Details

3
GHSA
GHSA-jq9g-4vpq-449j: The add_to_history function in svr_principal2022-04-29
CVEList
CVE-2004-1189: The add_to_history function in svr_principal2004-12-31
OSV
CVE-2004-1189: The add_to_history function in svr_principal2004-12-31

📋Vendor Advisories

3
Ubuntu
MIT Kerberos server vulnerability2005-01-10
Red Hat
security flaw2004-12-21
Debian
CVE-2004-1189: krb5 - The add_to_history function in svr_principal.c in libkadm5srv for MIT Kerberos 5...2004

💬Community

1
Bugzilla
CVE-2004-1189 security flaw2018-08-16
CVE-2004-1189 — Out-of-bounds Write in MIT Kerberos 5 | cvebase