# CVE-2018-1002100: Kubernetes arbitrary file overwrite

- Severity: Medium 4.2 (CVSS:3.0, scored by kubernetes) `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.64%, higher than 77% of CVEs (2026-12-01)
- Published: 2018-06-01T21:00:00.000Z
- Modified: 2026-06-17T01:33:19.993Z
- Also known as: GHSA-2jq6-ffph-p4h8, GO-2023-1959
- Weaknesses: CWE-20
- Assigned by: kubernetes

## Description

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.

(As written by CVE List.)

## Affected

- Kubernetes Kubernetes: v1.5.x; v1.6.x; v1.7.x; v1.8.x; from unspecified before v1.9.6; from 1.5.0 up to 1.5.9; from 1.6.0 up to 1.6.14; from 1.7.0 up to 1.7.17; from 1.8.0 up to 1.8.15; from 1.9.0 up to 1.9.5
- k8s.io/kubernetes (Go): from 1.5.0-alpha.0 before 1.9.6; from 1.5.0 before 1.9.6

## Every score

- kubernetes: CVSS:3.0 4.2 Medium `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/kubernetes/kubernetes/issues/61297> (third-party-advisory, web)
- <https://hansmi.ch/articles/2018-04-openshift-s2i-security> (third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1564305> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1002100> (advisory)
- <https://github.com/kubernetes/kubernetes> (package)
- <https://github.com/advisories/GHSA-2jq6-ffph-p4h8> (advisory)

## Sources

- CVE List: [CVE-2018-1002100](https://www.cve.org/CVERecord?id=CVE-2018-1002100), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-2jq6-ffph-p4h8](https://github.com/advisories/GHSA-2jq6-ffph-p4h8), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2023-1959](https://pkg.go.dev/vuln/GO-2023-1959), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2018-1002100](https://nvd.nist.gov/vuln/detail/CVE-2018-1002100), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1002100 · Whole record: https://cve.day/CVE-2018-1002100.json · Rebuilt by cve.day 2026-11-25T22:57:38.093Z
