{
  "threat_severity" : "Important",
  "public_date" : "2023-01-24T00:00:00Z",
  "bugzilla" : {
    "description" : "sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters",
    "id" : "2149894",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2149894"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-90",
  "details" : [ "sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters", "A vulnerability was found in SSSD, in the libsss_certmap functionality. PKINIT enables a client to authenticate to the KDC using an X.509 certificate and the corresponding private key, rather than a passphrase or keytab. FreeIPA uses mapping rules to map a certificate presented during a PKINIT authentication request to the corresponding principal. The mapping filter is vulnerable to LDAP filter injection. The search result can be influenced by values in the certificate, which may be attacker controlled. In the most extreme case, an attacker could gain control of the admin account, leading to full domain takeover." ],
  "statement" : "The issue was introduced in SSSD 1.15.3 (when libsss_certmap was introduced) and resolved in SSSD 2.3.1. It only affects versions of SSSD shipped with RHEL-8.2.0.z and lower streams. Later versions are not affected. \nFreeIPA is not vulnerable in its default configuration.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2023-01-24T00:00:00Z",
    "advisory" : "RHSA-2023:0403",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "sssd-0:1.16.5-10.el7_9.15"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions",
    "release_date" : "2023-01-24T00:00:00Z",
    "advisory" : "RHSA-2023:0442",
    "cpe" : "cpe:/o:redhat:rhel_e4s:8.1",
    "package" : "sssd-0:2.2.0-19.el8_1.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Advanced Update Support",
    "release_date" : "2023-01-24T00:00:00Z",
    "advisory" : "RHSA-2023:0397",
    "cpe" : "cpe:/o:redhat:rhel_aus:8.2",
    "package" : "sssd-0:2.2.3-20.el8_2.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Telecommunications Update Service",
    "release_date" : "2023-01-24T00:00:00Z",
    "advisory" : "RHSA-2023:0397",
    "cpe" : "cpe:/o:redhat:rhel_tus:8.2",
    "package" : "sssd-0:2.2.3-20.el8_2.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions",
    "release_date" : "2023-01-24T00:00:00Z",
    "advisory" : "RHSA-2023:0397",
    "cpe" : "cpe:/o:redhat:rhel_e4s:8.2",
    "package" : "sssd-0:2.2.3-20.el8_2.2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "sssd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "sssd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "sssd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-4254\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-4254" ],
  "name" : "CVE-2022-4254",
  "csaw" : false
}