CVE-2024-2698Freeipa: delegation rules allow a proxy service to impersonate any user to access…
A vulnerability was found in FreeIPA in how the initial implementation of MS-SFU by MIT Kerberos was missing a condition for granting the "forwardable" flag on S4U2Self tickets. Fixing this mistake required adding a special case for the check_allowed_to_delegate() function: If the target service argument is NULL, then it means the KDC is probing for general constrained delegation rules and not checking a specific S4U2Proxy request. In FreeIPA 4.11.0, the behavior of ipadb_match_acl() was modified to match the changes from upstream MIT Kerberos 1.20. However, a mistake resulting in this mechanism applies in cases where the target service argument is set AND where it is unset. This results in S4U2Proxy requests being accepted regardless of whether or not there is a matching service delegation rule.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have 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.10 | freeipa | Fix pending | UBUNTU-CVE-2024-2698 | |
| Ubuntu 26.04 | freeipa | Under investigation | UBUNTU-CVE-2024-2698 | |
| Ubuntu 25.10 | freeipa | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-2698 | |
| Ubuntu 24.04 | freeipa | Under investigation | UBUNTU-CVE-2024-2698 | |
| Ubuntu 22.04 | freeipa | Under investigation | UBUNTU-CVE-2024-2698 | |
| Ubuntu 20.04 | freeipa | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-2698 | |
| Ubuntu 18.04 | freeipa | Fix pending | UBUNTU-CVE-2024-2698 | |
| Ubuntu 16.04 | freeipa | Fix pending | UBUNTU-CVE-2024-2698 | |
| Ubuntu 14.04 | freeipa | Fix pending | UBUNTU-CVE-2024-2698 | |
| Debian 14 | freeipa | Fixed | 4.12.2-1 | DEBIAN-CVE-2024-2698 |
| Debian 13 | freeipa | Fixed | 4.12.2-1 | DEBIAN-CVE-2024-2698 |
| Debian 12 | freeipa | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2024-2698 | |
| Red Hat Enterprise Linux 9 | ipa | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-client | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-client-common | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-client-epn | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-client-samba | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-common | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-selinux | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-server | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-server-common | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-server-dns | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | ipa-server-trust-ad | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | python3-ipaclient | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | python3-ipalib | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | python3-ipaserver | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 9 | python3-ipatests | Fixed | 0:4.11.0-15.el9_4 | RHSA-2024:3754 |
| Red Hat Enterprise Linux 8 | bind-dyndb-ldap | Fixed | 0:11.6-5.module+el8.10.0+21691+df63127d | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | custodia | Fixed | 0:0.6.0-3.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-client | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-client-common | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-client-epn | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-client-samba | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-common | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-healthcheck | Fixed | 0:0.12-3.module+el8.9.0+19634+c162f948 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-healthcheck-core | Fixed | 0:0.12-3.module+el8.9.0+19634+c162f948 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-python-compat | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-selinux | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-server | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-server-common | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-server-dns | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | ipa-server-trust-ad | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | opendnssec | Fixed | 0:2.1.7-1.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python-jwcrypto | Fixed | 0:0.5.0-2.module+el8.10.0+21691+df63127d | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python-kdcproxy | Fixed | 0:0.4-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python-qrcode | Fixed | 0:5.1-12.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python-yubico | Fixed | 0:1.3.2-9.1.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-custodia | Fixed | 0:0.6.0-3.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-ipaclient | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-ipalib | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-ipaserver | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-ipatests | Fixed | 0:4.9.13-10.module+el8.10.0+21944+3943ad77 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-jwcrypto | Fixed | 0:0.5.0-2.module+el8.10.0+21691+df63127d | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-kdcproxy | Fixed | 0:0.4-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-pyusb | Fixed | 0:1.0.0-9.1.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-qrcode | Fixed | 0:5.1-12.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-qrcode-core | Fixed | 0:5.1-12.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | python3-yubico | Fixed | 0:1.3.2-9.1.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | pyusb | Fixed | 0:1.0.0-9.1.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | slapi-nis | Fixed | 0:0.60.0-4.module+el8.10.0+20723+03062ebd | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | softhsm | Fixed | 0:2.6.0-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 8 | softhsm-devel | Fixed | 0:2.6.0-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3755 |
| Red Hat Enterprise Linux 7 | ipa | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-admintools | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-client | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-client-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-python | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-python-compat | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-server-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-server-dns | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ipa-server-trust-ad | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | python2-ipaclient | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | python2-ipalib | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | python2-ipaserver | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ipa | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-admintools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-client | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-server-selinux | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ipa-server-trust-ad | Will not fix Out of support scope | ||
| AlmaLinux 9 | ipa-client | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-client-common | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-client-epn | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-client-samba | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-common | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-selinux | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-server | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-server-common | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-server-dns | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | ipa-server-trust-ad | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | python3-ipaclient | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | python3-ipalib | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | python3-ipaserver | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 9 | python3-ipatests | Fixed | 4.11.0-15.el9_4.alma.1 | ALSA-2024:3754 |
| AlmaLinux 8 | bind-dyndb-ldap | Fixed | 11.6-5.module_el8.10.0+3844+20e075e5.alma.2 | ALSA-2024:3755 |
| AlmaLinux 8 | custodia | Fixed | 0.6.0-3.module_el8.6.0+2881+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-client | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-client-common | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-client-epn | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-client-samba | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-common | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-healthcheck | Fixed | 0.12-3.module_el8.9.0+3651+d05ea4c5 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-healthcheck-core | Fixed | 0.12-3.module_el8.9.0+3651+d05ea4c5 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-python-compat | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-selinux | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-server | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-server-common | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-server-dns | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | ipa-server-trust-ad | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | opendnssec | Fixed | 2.1.7-1.module_el8.6.0+3031+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-custodia | Fixed | 0.6.0-3.module_el8.6.0+2881+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-ipaclient | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-ipalib | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-ipaserver | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-ipatests | Fixed | 4.9.13-10.module_el8.10.0+3857+9c8da539 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-jwcrypto | Fixed | 0.5.0-2.module_el8.10.0+3844+20e075e5 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-kdcproxy | Fixed | 0.4-5.module_el8.9.0+3785+2238a12a | ALSA-2024:3755 |
| AlmaLinux 8 | python3-pyusb | Fixed | 1.0.0-9.1.module_el8.7.0+3349+cfeff52e | ALSA-2024:3755 |
| AlmaLinux 8 | python3-qrcode | Fixed | 5.1-12.module_el8.6.0+2881+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-qrcode-core | Fixed | 5.1-12.module_el8.6.0+2881+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | python3-yubico | Fixed | 1.3.2-9.1.module_el8.7.0+3349+cfeff52e | ALSA-2024:3755 |
| AlmaLinux 8 | slapi-nis | Fixed | 0.60.0-4.module_el8.10.0+3844+20e075e5.alma.1 | ALSA-2024:3755 |
| AlmaLinux 8 | softhsm | Fixed | 2.6.0-5.module_el8.6.0+3031+2f24dc92 | ALSA-2024:3755 |
| AlmaLinux 8 | softhsm-devel | Fixed | 2.6.0-5.module_el8.6.0+2881+2f24dc92 | ALSA-2024:3755 |
| Rocky Linux 9 | ipa | Fixed | 0:4.11.0-15.el9_4 | RLSA-2024:3754 |
| Rocky Linux 8 | bind-dyndb-ldap | Fixed | 0:11.6-5.module+el8.10.0+1819+0aeba2f1 | RLSA-2024:3755 |
| Rocky Linux 8 | custodia | Fixed | 0:0.6.0-3.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | ipa | Fixed | 0:4.9.13-10.module+el8.10.0+1828+d0e644b0 | RLSA-2024:3755 |
| Rocky Linux 8 | ipa-healthcheck | Fixed | 0:0.12-3.module+el8.9.0+1433+5bd2f890 | RLSA-2024:3755 |
| Rocky Linux 8 | opendnssec | Fixed | 0:2.1.7-1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | python-jwcrypto | Fixed | 0:0.5.0-2.module+el8.10.0+1818+2dfda7a6 | RLSA-2024:3755 |
| Rocky Linux 8 | python-kdcproxy | Fixed | 0:0.4-5.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | python-qrcode | Fixed | 0:5.1-12.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | python-yubico | Fixed | 0:1.3.2-9.1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | pyusb | Fixed | 0:1.0.0-9.1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
| Rocky Linux 8 | slapi-nis | Fixed | 0:0.60.0-4.module+el8.9.0+1573+39ab85f4 | RLSA-2024:3755 |
| Rocky Linux 8 | softhsm | Fixed | 0:2.6.0-5.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3755 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- freeipa: affected: 4.11.0 to before 4.11.2, 4.12.0 to before 4.12.1; fixed in
4.11.2,4.12.1 - Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.8 Extended Update Support
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:3754 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:3755 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:3757 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:3759 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:3754
- https://access.redhat.com/errata/RHSA-2024:3755
- https://access.redhat.com/errata/RHSA-2024:3757
- https://access.redhat.com/errata/RHSA-2024:3759
- https://access.redhat.com/security/cve/CVE-2024-2698
- https://bugzilla.redhat.com/show_bug.cgi?id=2270353
- https://www.freeipa.org/release-notes/4-12-1.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.