CVE-2018-1002100: Input Validation

Published Apr 6, 2018
·
Updated

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.

Other sources

When using kubectl to cp files to a pod, if the container returns a malformed tarfile with paths like, '/some/remote/dir/../../../../tmp/foo' kubectl writes this to /tmp/foo instead of /some/local/dir/tmp/foo.

https://github.com/kubernetes/kubernetes/issues/61297

Red Hat

Affected Software

7 affected componentsFixes available
go/k8s.io/kubernetes>=1.5<1.9.6
1.9.6
redhat/Kubernetes<1.9.6
1.9.6
Kubernetes kubernetes>=1.5.0<=1.5.9
Kubernetes kubernetes>=1.6.0<=1.6.14
Kubernetes kubernetes>=1.7.0<=1.7.17
Kubernetes kubernetes>=1.8.0<=1.8.15
Kubernetes kubernetes>=1.9.0<=1.9.5

Event History

Jun 1, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
May 13, 2022
Advisory Published
01:35 AM

Frequently Asked Questions

1

What is CVE-2018-1002100?

CVE-2018-1002100 is a vulnerability in Kubernetes versions 1.5.x, 1.6.x, 1.7.x, 1.8.x, and prior to version 1.9.6 that allows the kubectl cp command to insecurely handle tar data returned from the container, potentially overwriting arbitrary local files.

2

How severe is CVE-2018-1002100?

CVE-2018-1002100 has a severity rating of 5.5 (medium).

3

How can I fix CVE-2018-1002100?

To fix CVE-2018-1002100, upgrade to Kubernetes version 1.9.6 or later.

4

Which software versions are affected by CVE-2018-1002100?

Kubernetes versions 1.5.x, 1.6.x, 1.7.x, 1.8.x, and prior to version 1.9.6 are affected by CVE-2018-1002100.

5

Where can I find more information about CVE-2018-1002100?

You can find more information about CVE-2018-1002100 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1002100), [GitHub](https://github.com/kubernetes/kubernetes/issues/61297), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1564305).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203