CVE-2023-36054
lib/kadm5/kadm_rpc_xdr.c in MIT Kerberos 5 (aka krb5) before 1.20.2 and 1.21.x before 1.21.1 frees an uninitialized pointer. A remote authenticated user can trigger a kadmind crash. This occurs because _xdr_kadm5_principal_ent_rec does not validate the relationship between n_key_data and the key_data array count.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | krb5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | krb5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | krb5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | krb5 | Fixed | 1.19.2-2ubuntu0.3 | UBUNTU-CVE-2023-36054 |
| Ubuntu 20.04 | krb5 | Fixed | 1.17-6ubuntu4.4 | UBUNTU-CVE-2023-36054 |
| Ubuntu 18.04 | krb5 | Fix pending | 1.16-2ubuntu0.4+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-36054 |
| Ubuntu 16.04 | krb5 | Fix pending | 1.13.2+dfsg-5ubuntu2.2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-36054 |
| Ubuntu 14.04 | krb5 | Fix pending | 1.12+dfsg-2ubuntu5.4+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-36054 |
| Debian 14 | krb5 | Fixed | 1.20.1-3 | DEBIAN-CVE-2023-36054 |
| Debian 13 | krb5 | Fixed | 1.20.1-3 | DEBIAN-CVE-2023-36054 |
| Debian 12 | krb5 | Fixed | 1.20.1-2+deb12u1 | DEBIAN-CVE-2023-36054 |
| Red Hat Enterprise Linux 9 | krb5 | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-devel | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-libs | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-pkinit | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-server | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-server-ldap | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | krb5-workstation | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 9 | libkadm5 | Fixed | 0:1.21.1-1.el9 | RHSA-2023:6699 |
| Red Hat Enterprise Linux 8 | krb5 | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-pkinit | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-server | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-server-ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | krb5-workstation | Not affected | ||
| Red Hat Enterprise Linux 8 | libkadm5 | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5 | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-pkinit | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-server | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-server-ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | krb5-workstation | Not affected | ||
| Red Hat Enterprise Linux 7 | libkadm5 | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5 | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-pkinit-openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-server | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-server-ldap | Not affected | ||
| Red Hat Enterprise Linux 6 | krb5-workstation | Not affected | ||
| Red Hat Enterprise Linux 6 | libkadm5 | Not affected | ||
| AlmaLinux 9 | krb5-devel | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | krb5-libs | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | krb5-pkinit | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | krb5-server | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | krb5-server-ldap | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | krb5-workstation | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| AlmaLinux 9 | libkadm5 | Fixed | 1.21.1-1.el9 | ALSA-2023:6699 |
| Rocky Linux 9 | krb5 | Fixed | 0:1.21.1-10.el9_8 | RLSA-2023:6699 |
| Alpine Linux 3.18 | krb5 | Fixed | 1.20.2-r0 | ALPINE-CVE-2023-36054 |
| Alpine Linux 3.17 | krb5 | Fixed | 1.20.2-r0 | ALPINE-CVE-2023-36054 |
References
- https://web.mit.edu/kerberos/www/advisories/
- https://github.com/krb5/krb5/compare/krb5-1.21-final...krb5-1.21.1-final
- https://github.com/krb5/krb5/compare/krb5-1.20.1-final...krb5-1.20.2-final
- https://github.com/krb5/krb5/commit/ef08b09c9459551aabbe7924fb176f1583053cdd
- https://security.netapp.com/advisory/ntap-20230908-0004/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00031.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.