{"answers":{"affected":"5 open source packages ship an affected version, including k8s.io/kubernetes and github.com/kubernetes/kubernetes. It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-5305 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kubernetes to 1.1.1 or later.","what":"CVE-2015-5305 is a medium-severity path traversal vulnerability in Redhat Openshift, published on 6 Nov 2015. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-5305 and fix it if it is affected.\n\nWhat it is: CVE-2015-5305 is a medium-severity path traversal vulnerability in Redhat Openshift, published on 6 Nov 2015. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2015-5305 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.1.1\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.1.1\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.1.1\n- github.com/kubernetes/kubernetes (Go): affected all versions; fixed in 1.1.1\n- github.com/kubernetes/kubernetes (Go): affected all versions; fixed in 1.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2015-5305/ (Markdown: https://insights.sbomify.com/CVE-2015-5305/index.md)","id":"CVE-2015-5305","markdown":"https://insights.sbomify.com/CVE-2015-5305/index.md","name":"CVE-2015-5305","record":{"aliases":["GHSA-jp32-vmm6-3vf5","GO-2022-0701","RHSA-2015:1945"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes cluster","requires_auth":"low_privilege","summary":"Attackers can write to arbitrary files in Kubernetes clusters via crafted object names, potentially compromising node integrity.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift","vendor":"redhat"}],"cvss":{"score":6.4,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go","Red Hat:openshift:3.0::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Directory Traversal in Kubernetes","id":"CVE-2015-5305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:openshift","products":["redhat:openshift"],"type":"path_traversal","year":"2015"},"n_packages":11,"n_references":2,"next":{"headline":"Injection vulnerability that affects ironic-discoverd","id":"CVE-2015-5306"},"packages":[{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kubernetes/kubernetes","purl":null,"source":"GHSA-jp32-vmm6-3vf5"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kubernetes/kubernetes","purl":"pkg:golang/github.com/kubernetes/kubernetes","source":"GHSA-jp32-vmm6-3vf5"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-jp32-vmm6-3vf5"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-jp32-vmm6-3vf5"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2022-0701"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"openshift","purl":"pkg:rpm/redhat/openshift","source":"RHSA-2015:1945"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"openshift-clients","purl":"pkg:rpm/redhat/openshift-clients","source":"RHSA-2015:1945"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"openshift-master","purl":"pkg:rpm/redhat/openshift-master","source":"RHSA-2015:1945"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"openshift-node","purl":"pkg:rpm/redhat/openshift-node","source":"RHSA-2015:1945"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"openshift-sdn-ovs","purl":"pkg:rpm/redhat/openshift-sdn-ovs","source":"RHSA-2015:1945"},{"ecosystem":"Red Hat:openshift:3.0::el7","fixed":["0:3.0.2.0-0.git.20.656dc3e.el7ose"],"introduced":["0"],"last_affected":[],"package":"tuned-profiles-openshift-node","purl":"pkg:rpm/redhat/tuned-profiles-openshift-node","source":"RHSA-2015:1945"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2015-5304"},"products":["n/a"],"published":"2015-11-06","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2014-3496","kev_date_added":null,"published":"2014-06-20"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Red Hat OpenShift Enterprise","id":"CVE-2014-0234","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Command injection in OpenShift Origin","id":"CVE-2013-2060","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":9.1,"headline":"Path traversal in openshift-origin-msg-node-mcollective","id":"CVE-2013-4561","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":8.8,"headline":"Command injection in Openshift","id":"CVE-2014-0163","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":8.8,"headline":"Path traversal in atomic-openshift","id":"CVE-2018-1102","kev_date_added":null,"published":"2018-04-30"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2160","kev_date_added":null,"published":"2016-06-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can write to arbitrary files in Kubernetes clusters via crafted object names, potentially compromising node integrity.","url":"https://insights.sbomify.com/CVE-2015-5305/"}