CVE-2018-1002100
JSON

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 packageVersionsReported by
Kubernetes Kubernetesv1.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 moreCVE List, NVD
k8s.io/kubernetes (Go)from 1.5.0-alpha.0 before 1.9.6, from 1.5.0 before 1.9.6GitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes4.2medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
GitHub5.5medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD5.5medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD3.6low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2018-1002100 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-2jq6-ffph-p4h8 changed 2026-02-03CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1959 changed 2026-03-03CC-BY-4.0
NVDCVE-2018-1002100 changed 2026-06-17Public domain