CVE-2023-39975
kdc/do_tgs_req.c in MIT Kerberos 5 (aka krb5) 1.21 before 1.21.2 has a double free that is reachable if an authenticated user can trigger an authorization-data handling failure. Incorrect data is copied from one ticket to another.
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: 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 22.04 | krb5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | krb5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | krb5 | Fix pending | ||
| 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 |
References
- https://web.mit.edu/kerberos/www/advisories/
- https://github.com/krb5/krb5/compare/krb5-1.21.1-final...krb5-1.21.2-final
- https://github.com/krb5/krb5/commit/88a1701b423c13991a8064feeb26952d3641d840
- https://security.netapp.com/advisory/ntap-20230915-0014/
- https://security.netapp.com/advisory/ntap-20240201-0008/
- https://security.netapp.com/advisory/ntap-20240201-0005/
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.