Advisory

GHSA-2jq6-ffph-p4h8

Also known as: CVE-2018-1002100, GO-2023-1959

Summary

Kubernetes arbitrary file overwrite

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:35 UTC
Modified
2026-02-03 03:16 UTC

Affected packages and fixes

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.5.0-alpha.0, fixed 1.9.6 (semver)

Fixed versions

1.9.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences