{"id":"UBUNTU-CVE-2024-2698","details":"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.","modified":"2026-05-20T16:08:56.031189594Z","published":"2024-06-12T08:15:00Z","upstream":["CVE-2024-2698"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-2698"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-2698"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2270353"}],"affected":[{"package":{"name":"freeipa","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.1-0ubuntu1","3.3.4-0ubuntu1","3.3.4-0ubuntu2","3.3.4-0ubuntu3","3.3.4-0ubuntu3.1","3.3.4-0ubuntu3.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-client","binary_version":"3.3.4-0ubuntu3.1+esm1"},{"binary_name":"python-freeipa","binary_version":"3.3.4-0ubuntu3.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.4-1","4.3.1-0ubuntu1","4.3.1-0ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-admintools","binary_version":"4.3.1-0ubuntu1+esm1"},{"binary_name":"freeipa-client","binary_version":"4.3.1-0ubuntu1+esm1"},{"binary_name":"freeipa-common","binary_version":"4.3.1-0ubuntu1+esm1"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"freeipa-server"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"freeipa-server-dns"},{"binary_name":"freeipa-server-trust-ad","binary_version":"4.3.1-0ubuntu1+esm1"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"freeipa-tests"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"python-ipaclient"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"python-ipalib"},{"binary_version":"4.3.1-0ubuntu1+esm1","binary_name":"python-ipaserver"},{"binary_name":"python-ipatests","binary_version":"4.3.1-0ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.4-3ubuntu1","4.4.4-4","4.7.0~pre1+git20180411-2ubuntu1","4.7.0~pre1+git20180411-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-admintools","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"},{"binary_name":"freeipa-client","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"},{"binary_name":"freeipa-common","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"},{"binary_name":"freeipa-server","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"},{"binary_version":"4.7.0~pre1+git20180411-2ubuntu2","binary_name":"freeipa-server-dns"},{"binary_version":"4.7.0~pre1+git20180411-2ubuntu2","binary_name":"freeipa-server-trust-ad"},{"binary_version":"4.7.0~pre1+git20180411-2ubuntu2","binary_name":"freeipa-tests"},{"binary_version":"4.7.0~pre1+git20180411-2ubuntu2","binary_name":"python-ipaclient"},{"binary_version":"4.7.0~pre1+git20180411-2ubuntu2","binary_name":"python-ipalib"},{"binary_name":"python-ipaserver","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"},{"binary_name":"python-ipatests","binary_version":"4.7.0~pre1+git20180411-2ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.1-2ubuntu1","4.8.3-1","4.8.6-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-client","binary_version":"4.8.6-1ubuntu2"},{"binary_name":"freeipa-client-samba","binary_version":"4.8.6-1ubuntu2"},{"binary_name":"freeipa-common","binary_version":"4.8.6-1ubuntu2"},{"binary_name":"python3-ipaclient","binary_version":"4.8.6-1ubuntu2"},{"binary_name":"python3-ipalib","binary_version":"4.8.6-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.6-1ubuntu6","4.8.6-1ubuntu8","4.8.6-1ubuntu9","4.9.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-client","binary_version":"4.9.8-1"},{"binary_name":"freeipa-client-epn","binary_version":"4.9.8-1"},{"binary_version":"4.9.8-1","binary_name":"freeipa-client-samba"},{"binary_name":"freeipa-common","binary_version":"4.9.8-1"},{"binary_name":"python3-ipaclient","binary_version":"4.9.8-1"},{"binary_name":"python3-ipalib","binary_version":"4.9.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10.2-1","4.10.2-2","4.10.2-2ubuntu3","4.11.1-1","4.11.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.11.1-2","binary_name":"freeipa-client"},{"binary_version":"4.11.1-2","binary_name":"freeipa-client-epn"},{"binary_name":"freeipa-client-samba","binary_version":"4.11.1-2"},{"binary_name":"freeipa-common","binary_version":"4.11.1-2"},{"binary_name":"python3-ipaclient","binary_version":"4.11.1-2"},{"binary_name":"python3-ipalib","binary_version":"4.11.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.2-3","4.12.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.12.4-1","binary_name":"freeipa-client"},{"binary_name":"freeipa-client-epn","binary_version":"4.12.4-1"},{"binary_name":"freeipa-client-samba","binary_version":"4.12.4-1"},{"binary_version":"4.12.4-1","binary_name":"freeipa-common"},{"binary_name":"python3-ipaclient","binary_version":"4.12.4-1"},{"binary_version":"4.12.4-1","binary_name":"python3-ipalib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}},{"package":{"name":"freeipa","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/freeipa?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.4-1","4.12.4-2","4.13.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"freeipa-client","binary_version":"4.13.1-1"},{"binary_version":"4.13.1-1","binary_name":"freeipa-client-epn"},{"binary_name":"freeipa-client-samba","binary_version":"4.13.1-1"},{"binary_version":"4.13.1-1","binary_name":"freeipa-common"},{"binary_name":"python3-ipaclient","binary_version":"4.13.1-1"},{"binary_version":"4.13.1-1","binary_name":"python3-ipalib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}