Skip to content
Heist/ feed
Back to feed
High

freeipa — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-2698

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.

Products
freeipa
Affected 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, 4.1.4-1, 4.10.2-1, 4.10.2-2, 4.10.2-2ubuntu3, 4.11.1-1, 4.11.1-2, 4.12.2-3, 4.12.4-1, 4.12.4-2, 4.13.1-1, 4.13.1-1build1, 4.3.1-0ubuntu1, 4.3.1-0ubuntu1+esm1, 4.4.4-3ubuntu1, 4.4.4-4, 4.7.0~pre1+git20180411-2ubuntu1, 4.7.0~pre1+git20180411-2ubuntu2, 4.8.1-2ubuntu1, 4.8.3-1, 4.8.6-1ubuntu2, 4.8.6-1ubuntu6, 4.8.6-1ubuntu8, 4.8.6-1ubuntu9, 4.9.8-1
Fixed versions
Not specified
CVEs
CVE-2024-2698
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:12 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-2698

core-osv · Original source

Published 12 Jun 2024, 08:15 UTC

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.

osv:UBUNTU-CVE-2024-2698

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

freeipa

Fixed versions: Not specified

Complete source record
{
  "id": "c21b03d9b1705f9179c037803765fa191ab44632be2f8889ce380e524a6b4be3",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-2698",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-2698",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2024-2698",
    "products": [
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.1-0ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.4-0ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.4-0ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.4-0ubuntu3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.4-0ubuntu3.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.4-0ubuntu3.1+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.1.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.1-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.3.1-0ubuntu1+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.4-3ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.4.4-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.0~pre1+git20180411-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.7.0~pre1+git20180411-2ubuntu2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8.1-2ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.8.3-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4.8.6-1ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.8.6-1ubuntu6",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.6-1ubuntu8",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.8.6-1ubuntu9",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.9.8-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.10.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.10.2-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.10.2-2ubuntu3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.11.1-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.11.1-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.12.2-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4.12.4-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.13.1-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.13.1-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "freeipa",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.12.4-1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "4.12.4-2",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "4.13.1-1",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-2698",
      "aliases": [
        "UBUNTU-CVE-2024-2698"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "4.1.4-1",
            "4.3.1-0ubuntu1",
            "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"
          },
          "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_name": "freeipa-server",
                "binary_version": "4.3.1-0ubuntu1+esm1"
              },
              {
                "binary_name": "freeipa-server-dns",
                "binary_version": "4.3.1-0ubuntu1+esm1"
              },
              {
                "binary_name": "freeipa-server-trust-ad",
                "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_version": "4.3.1-0ubuntu1+esm1"
              },
              {
                "binary_name": "python-ipatests",
                "binary_version": "4.3.1-0ubuntu1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "4.4.4-3ubuntu1",
            "4.4.4-4",
            "4.7.0~pre1+git20180411-2ubuntu1",
            "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"
          },
          "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_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_version": "4.7.0~pre1+git20180411-2ubuntu2"
              },
              {
                "binary_name": "python-ipaserver",
                "binary_version": "4.7.0~pre1+git20180411-2ubuntu2"
              },
              {
                "binary_name": "python-ipatests",
                "binary_version": "4.7.0~pre1+git20180411-2ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.8.1-2ubuntu1",
            "4.8.3-1",
            "4.8.6-1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.8.6-1ubuntu6",
            "4.8.6-1ubuntu8",
            "4.8.6-1ubuntu9",
            "4.9.8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "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_name": "freeipa-client-samba",
                "binary_version": "4.9.8-1"
              },
              {
                "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.10.2-1",
            "4.10.2-2",
            "4.10.2-2ubuntu3",
            "4.11.1-1",
            "4.11.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "freeipa-client",
                "binary_version": "4.11.1-2"
              },
              {
                "binary_name": "freeipa-client-epn",
                "binary_version": "4.11.1-2"
              },
              {
                "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.12.2-3",
            "4.12.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "freeipa-client",
                "binary_version": "4.12.4-1"
              },
              {
                "binary_name": "freeipa-client-epn",
                "binary_version": "4.12.4-1"
              },
              {
                "binary_name": "freeipa-client-samba",
                "binary_version": "4.12.4-1"
              },
              {
                "binary_name": "freeipa-common",
                "binary_version": "4.12.4-1"
              },
              {
                "binary_name": "python3-ipaclient",
                "binary_version": "4.12.4-1"
              },
              {
                "binary_name": "python3-ipalib",
                "binary_version": "4.12.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.13.1-1",
            "4.13.1-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "freeipa-client",
                "binary_version": "4.13.1-1build1"
              },
              {
                "binary_name": "freeipa-client-epn",
                "binary_version": "4.13.1-1build1"
              },
              {
                "binary_name": "freeipa-client-samba",
                "binary_version": "4.13.1-1build1"
              },
              {
                "binary_name": "freeipa-common",
                "binary_version": "4.13.1-1build1"
              },
              {
                "binary_name": "python3-ipaclient",
                "binary_version": "4.13.1-1build1"
              },
              {
                "binary_name": "python3-ipalib",
                "binary_version": "4.13.1-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "freeipa",
            "purl": "pkg:deb/ubuntu/freeipa?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.12.4-1",
            "4.12.4-2",
            "4.13.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2698.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "freeipa-client",
                "binary_version": "4.13.1-1"
              },
              {
                "binary_name": "freeipa-client-epn",
                "binary_version": "4.13.1-1"
              },
              {
                "binary_name": "freeipa-client-samba",
                "binary_version": "4.13.1-1"
              },
              {
                "binary_name": "freeipa-common",
                "binary_version": "4.13.1-1"
              },
              {
                "binary_name": "python3-ipaclient",
                "binary_version": "4.13.1-1"
              },
              {
                "binary_name": "python3-ipalib",
                "binary_version": "4.13.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:43.968356315Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-2698"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-2698",
        "https://www.cve.org/CVERecord?id=CVE-2024-2698",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2270353"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-2698",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356084,
  "published_at": "2024-06-12T08:15:00+00:00"
}