{
  "threat_severity" : "Moderate",
  "public_date" : "2019-03-28T00:00:00Z",
  "bugzilla" : {
    "description" : "kubernetes: Mishandling of symlinks allows for arbitrary file write via `kubectl cp`",
    "id" : "1685213",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1685213"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-59",
  "details" : [ "The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.", "A flaw was found in Kubernetes via the mishandling of symlinks when copying files from a running container. An attacker could exploit this by convincing a user to use `kubectl cp` or `oc cp` with a malicious container, allowing for arbitrary files to be overwritten on the host machine." ],
  "statement" : "This issue affects Kubernetes starting from version 1.9. OpenShift Container Platform (OCP) versions 3.9 and later are also affected.\nThis issue did not affect the version of Kubernetes(embedded in heketi) shipped with Red Hat Gluster Storage 3 as it does not contain the vulnerable code.",
  "acknowledgement" : "Red Hat would like to thank Ariel Zelivansky (Twistlock) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-enterprise-service-catalog-1:3.10.127-1.git.55.b54f8c7.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-openshift-0:3.10.127-1.git.0.dab74c6.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-openshift-descheduler-0:3.10.127-1.git.153.bc1eddd.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-openshift-dockerregistry-0:3.10.127-1.git.0.f8aa6dd.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-openshift-node-problem-detector-0:3.10.127-1.git.0.4f5519b.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "atomic-openshift-web-console-0:3.10.127-1.git.50.eab7949.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "golang-github-prometheus-node_exporter-0:3.10.127-1.git.0.8ebe819.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "openshift-ansible-0:3.10.127-1.git.0.131da09.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "openshift-enterprise-cluster-capacity-0:3.10.127-1.git.0.44580c6.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "python-libcloud-0:2.2.1-20180102gitd701bf9.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.10",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0620",
    "cpe" : "cpe:/a:redhat:openshift:3.10::el7",
    "package" : "rubygem-fluent-plugin-viaq_data_model-0:0.0.18-1.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-enterprise-service-catalog-1:3.11.98-1.git.0.a7877b0.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-0:3.11.98-1.git.0.0cbaff3.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-cluster-autoscaler-0:3.11.98-1.git.0.3b82207.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-descheduler-0:3.11.98-1.git.153.6c2426d.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-dockerregistry-0:3.11.98-1.git.0.27979f1.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-metrics-server-0:3.11.98-1.git.52.0623d01.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-node-problem-detector-0:3.11.98-1.git.0.83348c7.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-service-idler-0:3.11.98-1.git.14.1793066.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "atomic-openshift-web-console-0:3.11.98-1.git.50.bd70c76.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "golang-github-openshift-oauth-proxy-0:3.11.98-1.git.0.fd9716c.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "golang-github-prometheus-alertmanager-0:3.11.98-1.git.92.7ebe477.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "golang-github-prometheus-node_exporter-0:3.11.98-1.git.0.b02f11c.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "golang-github-prometheus-prometheus-0:3.11.98-1.git.0.61907ad.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "openshift-ansible-0:3.11.98-1.git.0.3cfa7c3.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "openshift-enterprise-autoheal-0:3.11.98-1.git.0.6737a19.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "openshift-enterprise-cluster-capacity-0:3.11.98-1.git.0.deb9250.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "python-certifi-0:2018.4.16-2.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "python-docker-0:2.4.2-2.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "python-libcloud-0:2.2.1-20180102gitd701bf9.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2019-04-11T00:00:00Z",
    "advisory" : "RHBA-2019:0636",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "rubygem-fluent-plugin-viaq_data_model-0:0.0.18-1.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "ansible-service-broker-0:1.1.20-1.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "atomic-openshift-0:3.9.74-1.git.0.78e56ea.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "atomic-openshift-dockerregistry-0:3.9.74-1.git.0.b102e93.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "atomic-openshift-web-console-0:3.9.74-1.git.50.93129da.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "cri-o-0:1.9.16-1.git78b2041.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "golang-github-prometheus-node_exporter-0:3.9.74-1.git.0.2ab615c.el7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.9",
    "release_date" : "2019-04-09T00:00:00Z",
    "advisory" : "RHBA-2019:0619",
    "cpe" : "cpe:/a:redhat:openshift:3.9::el7",
    "package" : "openshift-ansible-0:3.9.74-1.git.0.70a0a63.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 3.4",
    "fix_state" : "Not affected",
    "package_name" : "atomic-openshift",
    "cpe" : "cpe:/a:redhat:openshift:3.4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.5",
    "fix_state" : "Not affected",
    "package_name" : "atomic-openshift",
    "cpe" : "cpe:/a:redhat:openshift:3.5"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.6",
    "fix_state" : "Not affected",
    "package_name" : "atomic-openshift",
    "cpe" : "cpe:/a:redhat:openshift:3.6"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.7",
    "fix_state" : "Not affected",
    "package_name" : "atomic-openshift",
    "cpe" : "cpe:/a:redhat:openshift:3.7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat Storage 3",
    "fix_state" : "Not affected",
    "package_name" : "heketi",
    "cpe" : "cpe:/a:redhat:storage:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2019-1002101\nhttps://nvd.nist.gov/vuln/detail/CVE-2019-1002101\nhttps://discuss.kubernetes.io/t/announce-security-release-of-kubernetes-kubectl-potential-directory-traversal-releases-1-11-9-1-12-7-1-13-5-and-1-14-0-cve-2019-1002101/5712" ],
  "name" : "CVE-2019-1002101",
  "csaw" : false
}