[Security Advisory] CVE-2020-8570: Path Traversal bug in the Java Kubernetes Client

Skip to first unread message

Brendan Burns

Jan 11, 2021, 6:16:03 PMJan 11
to kubernetes-announce, Kubernetes developer/contributor discussion, kubernetes-sec...@googlegroups.com, kubernetes-se...@googlegroups.com, distributo...@kubernetes.io, oss-se...@lists.openwall.com, kubernetes+a...@discoursemail.com, Min Kim

Hello Kubernetes Community,

A security issue was discovered in Kubernetes Java Client that could overwrite files outside of the current directory when copying files from a Pod.

This issue has assigned CVE-2020-8570.

Am I vulnerable?

If you are not using the Java client for Kubernetes, you are not impacted.

If you are not using Copy in the Java client for Kubernetes, you are not impacted.

If you are using Copy and you have upgraded to 9.0.2, 10.0.1 or 11.0.0 you are not impacted.

Otherwise, if you are using Copy with an older version of the Java client and you are copying from untrusted Pods you may be impacted.

Affected Versions

  • All versions prior to 9.0.2
  • Version 10.0.0

How do I mitigate this vulnerability?

ACTION REQUIRED: Upgrade to 9.0.2, 10.0.1 or 11.0.0

Prior to upgrading, this vulnerability can be mitigated by not Copying files from untrusted Pods

Fixed Versions

  • 9.0.2
  • 10.0.1
  • 11.0.0


If you find evidence that this vulnerability has been exploited, please contact secu...@kubernetes.io

Additional Details

See the GitHub issue for more details: https://github.com/kubernetes-client/java/issues/1491


This vulnerability was reported by CodeQL Automated scanning by GitHub

Thank You,

Brendan Burns on behalf of the Kubernetes Product Security Committee

Reply all
Reply to author
0 new messages