oss-sec mailing list archives

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


From: Brendan Burns <bburns () microsoft com>
Date: Mon, 11 Jan 2021 23:15:54 +0000

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.

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#am-i-vulnerable>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.

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#affected-versions>Affected
 Versions

  *   All versions prior to 9.0.2
  *   Version 10.0.0

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#how-do-i-mitigate-this-vulnerability>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

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#fixed-versions>Fixed
 Versions

  *   9.0.2
  *   10.0.1
  *   11.0.0

Detection

If you find evidence that this vulnerability has been exploited, please contact security () kubernetes 
io<mailto:security () kubernetes io>

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#additional-details>Additional
 Details

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

<https://github.com/kubernetes/security/blob/master/comms-templates/vulnerability-announcement-email.md#acknowledgements>Acknowledgements

This vulnerability was reported by CodeQL Automated scanning by GitHub

Thank You,

Brendan Burns on behalf of the Kubernetes Product Security Committee



Current thread: