{
  "threat_severity" : "Important",
  "public_date" : "2024-09-16T07:55:00Z",
  "bugzilla" : {
    "description" : "openshift-controller-manager: Elevated Build Pods Can Lead to Node Compromise in OpenShift",
    "id" : "2308661",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2308661"
  },
  "cvss3" : {
    "cvss3_base_score" : "9.9",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-269",
  "details" : [ "A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.", "A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container." ],
  "statement" : "In all versions of OpenShift, the \"Custom\" build strategy gives developers permission to run arbitrary commands in a privileged container. This is disabled by default, and documentation explicitly warns that this should only be enabled for highly trusted users (eg: cluster admins). We therefore do not consider this vulnerability a privilege escalation path for \"Custom\" strategy builds.\nMicroshift is not affected by this vulnerability. MicroShift does not include this OpenShift API.\nThe Builds for Red Hat OpenShift Operator based on Shipwright is not affected by this vulnerability.",
  "acknowledgement" : "This issue was discovered by Thibault Guittet (Red Hat).",
  "affected_release" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 4.12",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6705",
    "cpe" : "cpe:/a:redhat:openshift:4.12::el8",
    "package" : "openshift4/ose-openshift-controller-manager-rhel8:v4.12.0-202409131137.p1.g0b1971a.assembly.stream.el8"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.13",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6691",
    "cpe" : "cpe:/a:redhat:openshift:4.13::el8",
    "package" : "openshift4/ose-openshift-controller-manager-rhel8:v4.13.0-202409130707.p1.gb75d499.assembly.stream.el8"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.14",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6689",
    "cpe" : "cpe:/a:redhat:openshift:4.14::el8",
    "package" : "openshift4/ose-openshift-controller-manager-rhel8:v4.14.0-202409130708.p1.g9020ea1.assembly.stream.el8"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.15",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6685",
    "cpe" : "cpe:/a:redhat:openshift:4.15::el9",
    "package" : "openshift4/ose-openshift-controller-manager-rhel9:v4.15.0-202409131835.p1.gbe9d673.assembly.stream.el9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.16",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6687",
    "cpe" : "cpe:/a:redhat:openshift:4.16::el9",
    "package" : "openshift4/ose-openshift-controller-manager-rhel9:v4.16.0-202409130937.p1.g5dcfc99.assembly.stream.el9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.17",
    "release_date" : "2024-10-01T00:00:00Z",
    "advisory" : "RHSA-2024:3718",
    "cpe" : "cpe:/a:redhat:openshift:4.17::el9",
    "package" : "openshift4/ose-openshift-controller-manager-rhel9:v4.17.0-202409182235.p0.g7682a61.assembly.stream.el9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-45496\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-45496" ],
  "name" : "CVE-2024-45496",
  "mitigation" : {
    "value" : "Cluster admins can follow the instructions in \"Securing Builds by Strategy\" to block use of the \"Docker\" and “Source” build strategies on a cluster, or restrict the use to a set of highly trusted users, until the cluster is able to be upgraded.\nhttps://docs.openshift.com/container-platform/4.16/cicd/builds/securing-builds-by-strategy.html",
    "lang" : "en:us"
  },
  "csaw" : false
}