Back to CVE catalog
CVE-2004-1189

Out-of-bounds error in add_to_history in MIT Kerberos 5

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

7.2High
Published:
Updated:
EPSS:
0.734%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mitkerberos 5Affected versions:
≤ 1.3.5
Vendor:Debiankrb5-admin-server
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-clients
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-doc
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-ftpd
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-kdc
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-rsh-server
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-telnetd
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debiankrb5-user
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1
Vendor:Debianlibkadm55
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.3.6-1

1–10 of 12 · Page 1 of 2

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences