🔍 CVE-2022-23508

8.8
CVSS Score
HIGH
2023-01-09
2026-06-17 04:30
✅ 완료

🇰🇷 한글 설명

Weave GitOps의 GitOps run 과정에서 로컬 S3 버킷에 대한 보안 제어가 누락되어 발생하는 취약점입니다. 이를 통해 로컬 사용자나 프로세스가 버킷의 내용을 수정하여 Kubernetes 클러스터에 임의의 워크로드를 배포할 수 있습니다.

💡 쉬운 설명

컴퓨터 내부의 임시 저장 공간에 자물쇠가 없는 상태와 같습니다. 해커가 이 공간에 몰래 가짜 파일을 넣어두면, 시스템이 이를 진짜로 착각하여 위험한 프로그램을 클러스터에 자동으로 설치하게 됩니다.

🇺🇸 원문 (English)

Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertise. A vulnerability in GitOps run could allow a local user or process to alter a Kubernetes cluster's resources. GitOps run has a local S3 bucket which it uses for synchronizing files that are later applied against a Kubernetes cluster. Its endpoint had no security controls to block unauthorized access, therefore allowing local users (and processes) on the same machine to see and alter the bucket content. By leveraging this vulnerability, an attacker could pick a workload of their choosing and inject it into the S3 bucket, which resulted in the successful deployment in the target cluster, without the need to provide any credentials to either the S3 bucket nor the target Kubernetes cluster. There are no known workarounds for this issue, please upgrade. This vulnerability has been fixed by commits 75268c4 and 966823b. Users should upgrade to Weave GitOps version >= v0.12.0 released on 08/12/2022. ### Workarounds There is no workaround for this vulnerability. ### References Disclosed by Paulo Gomes, Senior Software Engineer, Weaveworks. ### For more information If you have any questions or comments about this advisory: - Open an issue in [Weave GitOps repository](https://github.com/weaveworks/weave-gitops) - Email us at [[email protected]](mailto:[email protected])

📍 영향받는 시스템

Weave GitOps v0.12.0 미만 버전

⚔️ 공격 벡터

동일한 머신에 접근 가능한 로컬 사용자가 보안 제어가 없는 S3 버킷에 악성 워크로드를 주입

🛡️ 대응 방법

Weave GitOps를 v0.12.0 이상의 최신 버전으로 업그레이드

🔧 검증 코드

출력된 버전 번호가 v0.12.0보다 낮은지 확인하여 취약 여부를 판단합니다.

Shell / Script
weave-gitops --version 2>/dev/null | grep -E 'v[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes