ID RHSA-2015:1945 Type redhat Reporter RedHat Modified 2018-03-19T16:27:53
Description
Kubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.
Kubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)
Red Hat would like to thank Jordan Liggitt for discovering and
reporting this issue.
{"id": "RHSA-2015:1945", "hash": "b1c5d6dd5c2756d4cf7f6f51746d2a3c", "type": "redhat", "bulletinFamily": "unix", "title": "(RHSA-2015:1945) Moderate: kubernetes security update", "description": "Kubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and \nreporting this issue.", "published": "2015-10-27T22:30:55", "modified": "2018-03-19T16:27:53", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}, "href": "https://access.redhat.com/errata/RHSA-2015:1945", "reporter": "RedHat", "references": [], "cvelist": ["CVE-2015-5305"], "lastseen": "2018-12-11T17:46:12", "history": [{"bulletin": {"id": "RHSA-2015:1945", "hash": "", "type": "redhat", "bulletinFamily": "unix", "title": "(RHSA-2015:1945) Moderate: kubernetes security update", "description": "Kubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and \nreporting this issue.", "published": "2015-10-27T22:30:55", "modified": "2016-11-01T18:50:54", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}, "href": "https://access.redhat.com/errata/RHSA-2015:1945", "reporter": "RedHat", "references": [], "cvelist": ["CVE-2015-5305"], "lastseen": "2016-11-25T14:52:26", "history": [], "viewCount": 0, "enchantments": {}, "objectVersion": "1.4", "affectedPackage": [{"arch": "src", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.src.rpm", "OSVersion": "7", "packageName": "openshift", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-node", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-clients-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-clients", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-master-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-master", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-sdn-ovs-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-sdn-ovs", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "tuned-profiles-openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "tuned-profiles-openshift-node", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}]}, "lastseen": "2016-11-25T14:52:26", "differentElements": ["modified"], "edition": 1}, {"bulletin": {"id": "RHSA-2015:1945", "hash": "", "type": "redhat", "bulletinFamily": "unix", "title": "(RHSA-2015:1945) Moderate: kubernetes security update", "description": "Kubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and \nreporting this issue.", "published": "2015-10-27T22:30:55", "modified": "2017-07-21T12:44:09", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}, "href": "https://access.redhat.com/errata/RHSA-2015:1945", "reporter": "RedHat", "references": [], "cvelist": ["CVE-2015-5305"], "lastseen": "2017-07-22T00:51:20", "history": [], "viewCount": 0, "enchantments": {"score": {"value": 9.0, "vector": "AV:N/AC:L/Au:S/C:C/I:C/A:C/", "modified": "2017-07-22T00:51:20"}}, "objectVersion": "1.4", "affectedPackage": [{"arch": "src", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.src.rpm", "OSVersion": "7", "packageName": "openshift", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-node", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-clients-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-clients", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-master-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-master", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-sdn-ovs-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift-sdn-ovs", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "openshift", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}, {"arch": "x86_64", "packageFilename": "tuned-profiles-openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "packageName": "tuned-profiles-openshift-node", "OS": "RedHat", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "operator": "lt"}]}, "lastseen": "2017-07-22T00:51:20", "differentElements": ["modified"], "edition": 2}, {"bulletin": {"id": "RHSA-2015:1945", "hash": "7e72b5b81a1baa8520ac024adff537e7", "type": "redhat", "bulletinFamily": "unix", "title": "(RHSA-2015:1945) Moderate: kubernetes security update", "description": "Kubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and \nreporting this issue.", "published": "2015-10-27T22:30:55", "modified": "2018-03-19T16:27:53", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}, "href": "https://access.redhat.com/errata/RHSA-2015:1945", "reporter": "RedHat", "references": [], "cvelist": ["CVE-2015-5305"], "lastseen": "2018-03-19T21:56:53", "history": [], "viewCount": 2, "enchantments": {"score": {"value": 5.0, "vector": "NONE"}}, "objectVersion": "1.4", "affectedPackage": [{"arch": "src", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.src.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "openshift-clients-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift-clients", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "openshift-master-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift-master", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift-node", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "openshift-sdn-ovs-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "openshift-sdn-ovs", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}, {"arch": "x86_64", "packageFilename": "tuned-profiles-openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose.x86_64.rpm", "OSVersion": "7", "operator": "lt", "packageName": "tuned-profiles-openshift-node", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "OS": "RedHat"}]}, "lastseen": "2018-03-19T21:56:53", "differentElements": ["affectedPackage"], "edition": 3}], "viewCount": 3, "enchantments": {"score": {"value": 5.0, "vector": "NONE"}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2015-5305"]}, {"type": "nessus", "idList": ["REDHAT-RHSA-2015-1945.NASL"]}], "modified": "2018-12-11T17:46:12"}, "vulnersScore": 5.0}, "objectVersion": "1.4", "affectedPackage": [{"OS": "RedHat", "OSVersion": "7", "arch": "src", "packageName": "openshift", "packageVersion": "3.0.2.0-0.git.20.656dc3e.el7ose", "packageFilename": "openshift-3.0.2.0-0.git.20.656dc3e.el7ose.src.rpm", "operator": "lt"}], "_object_type": "robots.models.redhat.RedHatBulletin", "_object_types": ["robots.models.redhat.RedHatBulletin", "robots.models.base.Bulletin"]}
{"cve": [{"lastseen": "2016-09-03T22:51:39", "bulletinFamily": "NVD", "description": "Directory traversal vulnerability in Kubernetes, as used in Red Hat OpenShift Enterprise 3.0, allows attackers to write to arbitrary files via a crafted object type name, which is not properly handled before passing it to etcd.", "modified": "2015-11-09T08:46:33", "published": "2015-11-06T13:59:00", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5305", "id": "CVE-2015-5305", "title": "CVE-2015-5305", "type": "cve", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}}], "nessus": [{"lastseen": "2019-02-21T01:44:21", "bulletinFamily": "scanner", "description": "Updated kubernetes packages that fix one security issue are now available for Red Hat OpenShift Enterprise 3.0.\n\nRed Hat Product Security has rated this update as having Moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the references section.\n\nKubernetes allows orchestration and control of Docker containers as used in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data to etcd. As the etcd service generates keys based on the object name type this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and reporting this issue.", "modified": "2018-12-04T00:00:00", "id": "REDHAT-RHSA-2015-1945.NASL", "href": "https://www.tenable.com/plugins/index.php?view=single&id=119364", "published": "2018-12-04T00:00:00", "title": "RHEL 7 : kubernetes (RHSA-2015:1945)", "type": "nessus", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Red Hat Security Advisory RHSA-2015:1945. The text \n# itself is copyright (C) Red Hat, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(119364);\n script_version(\"1.1\");\n script_cvs_date(\"Date: 2018/12/04 16:01:27\");\n\n script_cve_id(\"CVE-2015-5305\");\n script_xref(name:\"RHSA\", value:\"2015:1945\");\n\n script_name(english:\"RHEL 7 : kubernetes (RHSA-2015:1945)\");\n script_summary(english:\"Checks the rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Red Hat host is missing one or more security updates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Updated kubernetes packages that fix one security issue are now\navailable for Red Hat OpenShift Enterprise 3.0.\n\nRed Hat Product Security has rated this update as having Moderate\nsecurity impact. A Common Vulnerability Scoring System (CVSS) base\nscore, which gives a detailed severity rating, is available from the\nCVE link in the references section.\n\nKubernetes allows orchestration and control of Docker containers as\nused in OpenShift Enterprise 3.\n\nKubernetes fails to validate object name types before passing the data\nto etcd. As the etcd service generates keys based on the object name\ntype this can lead to a directory path traversal. (CVE-2015-5305)\n\nRed Hat would like to thank Jordan Liggitt for discovering and\nreporting this issue.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://access.redhat.com/errata/RHSA-2015:1945\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://access.redhat.com/security/cve/cve-2015-5305\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:openshift\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:openshift-clients\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:openshift-master\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:openshift-node\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:openshift-sdn-ovs\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:redhat:enterprise_linux:tuned-profiles-openshift-node\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:redhat:enterprise_linux:7\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2015/10/27\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/12/04\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Red Hat Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\", \"Host/cpu\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Red Hat\" >!< release) audit(AUDIT_OS_NOT, \"Red Hat\");\nos_ver = eregmatch(pattern: \"Red Hat Enterprise Linux.*release ([0-9]+(\\.[0-9]+)?)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Red Hat\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Red Hat 7.x\", \"Red Hat \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\" && \"s390\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Red Hat\", cpu);\nif (\"x86_64\" >!< cpu) audit(AUDIT_ARCH_NOT, \"x86_64\", cpu);\n\nyum_updateinfo = get_kb_item(\"Host/RedHat/yum-updateinfo\");\nif (!empty_or_null(yum_updateinfo)) \n{\n rhsa = \"RHSA-2015:1945\";\n yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);\n if (!empty_or_null(yum_report))\n {\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : yum_report \n );\n exit(0);\n }\n else\n {\n audit_message = \"affected by Red Hat security advisory \" + rhsa;\n audit(AUDIT_OS_NOT, audit_message);\n }\n}\nelse\n{\n flag = 0;\n if (rpm_exists(rpm:\"openshift-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"openshift-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n if (rpm_exists(rpm:\"openshift-clients-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"openshift-clients-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n if (rpm_exists(rpm:\"openshift-master-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"openshift-master-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n if (rpm_exists(rpm:\"openshift-node-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n if (rpm_exists(rpm:\"openshift-sdn-ovs-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"openshift-sdn-ovs-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n if (rpm_exists(rpm:\"tuned-profiles-openshift-node-3.0\", release:\"RHEL7\") && rpm_check(release:\"RHEL7\", cpu:\"x86_64\", reference:\"tuned-profiles-openshift-node-3.0.2.0-0.git.20.656dc3e.el7ose\")) flag++;\n\n if (flag)\n {\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : rpm_report_get() + redhat_report_package_caveat()\n );\n exit(0);\n }\n else\n {\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"openshift / openshift-clients / openshift-master / openshift-node / etc\");\n }\n}\n", "cvss": {"score": 6.4, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:PARTIAL/A:PARTIAL/"}}]}