CVE-2018-1002100
4.2medium
Kubernetes arbitrary file overwrite
- Severity
- 4.2medium CVSS:3.0 by kubernetes
- Exploit likelihood
- 1.64% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- kubernetes
- Also known as
- GHSA-2jq6-ffph-p4h8GO-2023-1959
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 2 more | CVE List, NVD |
| k8s.io/kubernetes (Go) | from 1.5.0-alpha.0 before 1.9.6, from 1.5.0 before 1.9.6 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| kubernetes | 4.2medium CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 5.5medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.5medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.6low CVSS:2.0 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Kubernetes arbitrary file overwrite in k8s.io/kubernetes
NVD (es)
En las versiones 1.5.x, 1.6.x, 1.7.x, 1.8.x y anteriores a la versión 1.9.6 de Kubernetes, el comando kubectl cp gestiona de forma insegura los datos tar devueltos del contenedor, lo que puede sobrescribir archivos locales arbitrarios.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-1002100 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2jq6-ffph-p4h8 changed 2026-02-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1959 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2018-1002100 changed 2026-06-17 | Public domain |