🇰🇷 한글 설명
Windows 환경의 Kubernetes kubectl 클라이언트 'kubectl cp' 명령에서 경로 탐색 취약점이 발견되었습니다. 컨테이너 내의 악의적인 tar 바이너리를 이용해 로컬 머신의 임의 경로에 파일을 작성하고 임의 코드를 실행할 수 있습니다. 이 취약점은 Windows에서 실행되는 kubectl 클라이언트에만 영향을 미칩니다.
💡 쉬운 설명
컨테이너에 있는 파일을 내 컴퓨터로 가져올 때, 컨테이너 안의 가짜 프로그램을 이용해 내 컴퓨터의 중요한 파일을 마음대로 조작할 수 있는 문제입니다. 이 문제는 윈도우 운영체제에서 kubectl 명령어를 사용할 때 발생합니다.
🇺🇸 원문 (English)
A path traversal vulnerability was discovered in the Kubernetes kubectl client's kubectl cp command on Windows. When copying files from a container, kubectl runs tar inside the container to build a tar archive, transfers it over the network, and unpacks it on the local machine. If the tar binary in the container is malicious, it can execute arbitrary code and emit unexpected output, allowing an attacker who controls container contents to write files to arbitrary paths on the user's local machine when kubectl cp is invoked, limited only by the system permissions of the local user. This issue only affects kubectl clients running on Windows.
📍 영향받는 시스템
Windows 환경에서 실행되는 Kubernetes kubectl 클라이언트
⚔️ 공격 벡터
컨테이너 내부에 조작된 tar 바이너리를 배치한 후, 사용자가 kubectl cp 명령을 실행하도록 유도
🛡️ 대응 방법
kubectl 클라이언트를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 kubectl 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 확인