CVE-2015-5305 Directory Traversal in Kubernetes
Attackers can write to arbitrary files in Kubernetes clusters via crafted object names, potentially compromising node integrity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-5305?
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.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2015-5305?
5 open source packages ship an affected version, including k8s.io/kubernetes and github.com/kubernetes/kubernetes. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
k8s.io/kubernetes Go | All versions | 1.1.1 |
k8s.io/kubernetes Go | All versions | 1.1.1 |
k8s.io/kubernetes Go | All versions | 1.1.1 |
github.com/kubernetes/kubernetes Go | All versions | 1.1.1 |
github.com/kubernetes/kubernetes Go | All versions | 1.1.1 |
Linux distribution packages (6)
openshift Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
openshift-clients Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
openshift-master Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
openshift-node Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
openshift-sdn-ovs Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
tuned-profiles-openshift-node Red Hat:openshift:3.0::el7 | All versions | 0:3.0.2.0-0.git.20.656dc3e.el7ose |
Products include Redhat Openshift.
How do I fix CVE-2015-5305?
Upgrade k8s.io/kubernetes to 1.1.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-5305 being exploited?
There is no known exploitation of CVE-2015-5305 in the wild and no public exploit code.
Other vulnerabilities in Redhat Openshift
Sources
Also known as GHSA-jp32-vmm6-3vf5, GO-2022-0701, RHSA-2015:1945.