🔍 CVE-2022-36035

7.7
CVSS Score
HIGH
2022-08-31
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

Flux CLI에서 사용자 입력값을 부적절하게 처리하여 발생하는 경로 탐색(Path Traversal) 취약점입니다. 공격자는 이를 통해 Flux 배포 정보를 임의의 콘텐츠로 교체하여 대상 Kubernetes 클러스터에 악성 코드를 배포할 수 있습니다. 동일한 셸을 공유하는 다른 애플리케이션이 있는 환경에서 특히 위험합니다.

💡 쉬운 설명

Flux라는 도구를 사용할 때, 공격자가 파일 경로를 조작하여 원래 설치되어야 할 프로그램 대신 악성 프로그램을 설치하게 만들 수 있는 문제입니다. 같은 컴퓨터 환경을 공유하는 다른 프로그램이 있다면 공격자가 몰래 설정을 바꿀 수 있습니다.

🇺🇸 원문 (English)

Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy. Flux CLI allows users to deploy Flux components into a Kubernetes cluster via command-line. The vulnerability allows other applications to replace the Flux deployment information with arbitrary content which is deployed into the target Kubernetes cluster instead. The vulnerability is due to the improper handling of user-supplied input, which results in a path traversal that can be controlled by the attacker. Users sharing the same shell between other applications and the Flux CLI commands could be affected by this vulnerability. In some scenarios no errors may be presented, which may cause end users not to realize that something is amiss. A safe workaround is to execute Flux CLI in ephemeral and isolated shell environments, which can ensure no persistent values exist from previous processes. However, upgrading to the latest version of the CLI is still the recommended mitigation strategy.

📍 영향받는 시스템

Flux CLI (최신 버전 미업데이트 버전)

⚔️ 공격 벡터

동일한 셸 환경을 공유하는 다른 애플리케이션을 통한 경로 탐색 및 배포 정보 조작

🛡️ 대응 방법

Flux CLI를 최신 버전으로 업그레이드하거나, Flux CLI를 격리된 임시 셸 환경에서 실행하십시오.

🔧 검증 코드

출력된 Flux CLI의 버전을 확인하여 취약점이 해결된 최신 버전인지 대조합니다.

Shell / Script
flux --version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Kubernetes