CVE-2018-1002100 json
Kubernetes arbitrary file overwrite
published 2018-06-01 8 y ago modified 2026-06-17 4 mo ago also GHSA-2jq6-ffph-p4h8 , GO-2023-1959 , EUVD-2022-2004
- cvss
- 4.2
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
In Kubernetes versions 1.5.x, 1.6.x, 1.7.x, 1.8.x, and prior to version 1.9.6, the kubectl cp command insecurely handles tar data returned from the container, and can be caused to overwrite arbitrary local files.
Patch / fix
- go k8s.io/kubernetes 1.9.6
- Kubernetes Kubernetes v1.9.6
- kubernetes Debian 14, Debian 13, Debian 12 1.17.4-1
debian advisories DEBIAN-CVE-2018-1002100
- cri-o openshift 3.9 1.9.12-1.gitfa11beb.el7
- cri-tools openshift 3.9 1.0.0-5.rhaos3.9.git8e6013a.el7
- atomic-openshift openshift 3.9 3.9.30-1.git.0.dec1ba7.el7
- openshift-ansible openshift 3.9 3.9.30-1.git.7.46f8678.el7
- atomic-openshift-pod openshift 3.9 3.9.30-1.git.0.dec1ba7.el7
- atomic-openshift-node openshift 3.9 3.9.30-1.git.0.dec1ba7.el7
- atomic-openshift-tests openshift 3.9 3.9.30-1.git.0.dec1ba7.el7
- atomic-openshift-utils openshift 3.9 3.9.30-1.git.7.46f8678.el7
red hat advisories RHBA-2018:1796
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250807T150727-1.1
opensuse advisories openSUSE-SU-2025:15424-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1002100 updated cvss 6.1
kubernetes: Kubectl copy doesn't check for paths outside of it's destination directory
-
Red Hat Enterprise Linux 7 kubernetesaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.9 cri-o 1.9.12-1.gitfa11beb.el7, cri-tools 1.0.0-5.rhaos3.9.git8e6013a.el7, atomic-openshift 3.9.30-1.git.0.dec1ba7.el7, openshift-ansible 3.9.30-1.git.7.46f8678.el7, atomic-openshift-pod 3.9.30-1.git.0.dec1ba7.el7, atomic-openshift-node 3.9.30-1.git.0.dec1ba7.el7, +20 morefixed: vendor fix RHBA-2018:1796
-
Red Hat OpenShift Container Platform 3.10 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.67% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.2 | CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N |
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | k8s.io/kubernetes | >=1.5.0-alpha.0, <1.9.6 >=1.5.0, <1.9.6 |
1.9.6 |
Affected products
- Kubernetes Kubernetes
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
github.com
/kubernetes/kubernetes/issues/61297
web, third-party-advisory
-
hansmi.ch
/articles/2018-04-openshift-s2i-security
web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1564305
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1002100
advisory
-
github.com
/kubernetes/kubernetes
package
-
github.com
/advisories/GHSA-2jq6-ffph-p4h8
advisory
Sources
- CVE List CVE-2018-1002100
- GitHub Advisory GHSA-2jq6-ffph-p4h8
- NVD CVE-2018-1002100
- OSV GO-2023-1959
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.