{
  "threat_severity" : "Important",
  "public_date" : "2024-01-02T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: netfilter: use-after-free in nft_trans_gc_catchall_sync leads to privilege escalation",
    "id" : "2255653",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2255653"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-416",
  "details" : [ "A use-after-free flaw was found in the netfilter subsystem of the Linux kernel. If the catchall element is garbage-collected when the pipapo set is removed, the element can be deactivated twice. This can cause a use-after-free issue on an NFT_CHAIN object or NFT_OBJECT object, allowing a local unprivileged user with CAP_NET_ADMIN capability to escalate their privileges on the system.", "A use-after-free flaw was found in the netfilter subsystem of the Linux kernel. If the catchall element is garbage-collected when the pipapo set is removed, the element can be deactivated twice. This can cause a use-after-free issue on an NFT_CHAIN object or NFT_OBJECT object, allowing a local unprivileged user with CAP_NET_ADMIN capability to escalate their privileges on the system." ],
  "statement" : "The upstream commit that introduced this flaw (5f68718b34a5 \"netfilter: nf_tables: GC transaction API to avoid race with control plane\") is not included in any shipped kernel releases of Red Hat Enterprise Linux 6, 7, and 8.\nOnly local users with `CAP_NET_ADMIN` capability or root can trigger this issue. \nOn Red Hat Enterprise Linux, local unprivileged users can exploit unprivileged user namespaces (CONFIG_USER_NS) to grant themselves this capability.\nThe OpenShift Container Platform (OCP) control planes or master machines are based on Red Hat Enterprise Linux CoreOS (RHCOS) that consists primarily of RHEL components, therefore, it is also affected by this kernel vulnerability. A successful exploit needs necessary privileges (CAP_NET_ADMIN) and direct, local access. A local user in RHCOS is already a root with full permissions, hence existence of this vulnerability does not bring any value from the potential attacker perspective. From the OpenShift containers perspective, this vulnerability cannot be exploited as in OpenShift the cluster processes on the node are namespaced, which means that switching the namespace in the running OpenShift container will not bring necessary capabilities.\nThis means that for OpenShift, the impact of this vulnerability is Low.\nSimilar to the CVE-2023-32233 vulnerability, this has been explained in the following blog post as an example of a \"Container escape vulnerability\":\nhttps://www.redhat.com/en/blog/containers-vulnerability-risk-assessment",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-03-12T00:00:00Z",
    "advisory" : "RHSA-2024:1248",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.24.1.el9_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-03-12T00:00:00Z",
    "advisory" : "RHSA-2024:1248",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.24.1.el9_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
    "release_date" : "2024-07-09T00:00:00Z",
    "advisory" : "RHSA-2024:4415",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.0",
    "package" : "kernel-0:5.14.0-70.105.1.el9_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
    "release_date" : "2024-07-09T00:00:00Z",
    "advisory" : "RHSA-2024:4412",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.0::nfv",
    "package" : "kernel-rt-0:5.14.0-70.105.1.rt21.177.el9_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2024-02-28T00:00:00Z",
    "advisory" : "RHSA-2024:1018",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2",
    "package" : "kernel-0:5.14.0-284.55.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2024-02-28T00:00:00Z",
    "advisory" : "RHSA-2024:1019",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2::nfv",
    "package" : "kernel-rt-0:5.14.0-284.55.1.rt14.340.el9_2"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/cluster-logging-operator-bundle:v5.8.6-22"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/cluster-logging-rhel9-operator:v5.8.6-11"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/elasticsearch6-rhel9:v6.8.1-407"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/elasticsearch-operator-bundle:v5.8.6-19"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/elasticsearch-proxy-rhel9:v1.0.0-479"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/elasticsearch-rhel9-operator:v5.8.6-7"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/eventrouter-rhel9:v0.4.0-247"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/fluentd-rhel9:v5.8.6-5"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-227"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/logging-curator5-rhel9:v5.8.1-470"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/logging-loki-rhel9:v2.9.6-14"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/logging-view-plugin-rhel9:v5.8.6-2"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/loki-operator-bundle:v5.8.6-24"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/loki-rhel9-operator:v5.8.6-10"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/lokistack-gateway-rhel9:v0.1.0-525"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/opa-openshift-rhel9:v0.1.0-224"
  }, {
    "product_name" : "RHOL-5.8-RHEL-9",
    "release_date" : "2024-05-01T00:00:00Z",
    "advisory" : "RHSA-2024:2094",
    "cpe" : "cpe:/a:redhat:logging:5.8::el9",
    "package" : "openshift-logging/vector-rhel9:v0.28.1-56"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-0193\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-0193" ],
  "name" : "CVE-2024-0193",
  "mitigation" : {
    "value" : "In order to trigger the issue, it requires the ability to create user/net namespaces.\nOn non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0:\n# echo \"user.max_user_namespaces=0\" > /etc/sysctl.d/userns.conf\n# sysctl -p /etc/sysctl.d/userns.conf\nOn containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled.",
    "lang" : "en:us"
  },
  "csaw" : false
}