🔍 CVE-2022-24731

6.8
CVSS Score
MEDIUM
2022-03-23
2026-06-17 04:32
✅ 완료

🇰🇷 한글 설명

Argo CD의 특정 버전에서 발생하는 경로 탐색(Path Traversal) 취약점으로, Application에 대한 생성 또는 수정 권한을 가진 사용자가 악성 Helm 차트를 사용하여 repo-server 내의 민감한 파일을 유출할 수 있습니다. 공격자는 생성된 매니페스트나 에러 메시지를 통해 서버에 저장된 다른 애플리케이션의 소스 코드나 마운트된 비밀 정보를 탈취할 수 있습니다.

💡 쉬운 설명

Argo CD를 사용하는 사용자가 특수하게 조작된 파일을 이용해 서버 안에 숨겨진 중요한 비밀번호나 다른 프로젝트의 파일을 몰래 훔쳐볼 수 있는 문제입니다. 권한이 있는 사용자가 나쁜 마음을 먹으면 서버의 민감한 정보를 읽어낼 수 있습니다.

🇺🇸 원문 (English)

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.5.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal vulnerability, allowing a malicious user with read/write access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `create` or `update` access to Applications can leak the contents of any text file on the repo-server. By crafting a malicious Helm chart and using it in an Application, the attacker can retrieve the sensitive file's contents either as part of the generated manifests or in an error message. The attacker would have to know or guess the location of the target file. Sensitive files which could be leaked include files from another Application's source repositories or any secrets which have been mounted as files on the repo-server. This vulnerability is patched in Argo CD versions 2.1.11, 2.2.6, and 2.3.0. The problem can be mitigated by avoiding storing secrets in git, avoiding mounting secrets as files on the repo-server, avoiding decrypting secrets into files on the repo-server, and carefully limiting who can `create` or `update` Applications.

📍 영향받는 시스템

Argo CD 1.5.0 이상 버전 중 2.1.11, 2.2.6, 2.3.0 미만 버전

⚔️ 공격 벡터

악성 Helm 차트를 생성하여 Application에 적용한 뒤, 경로 탐색 기법을 통해 repo-server의 파일을 탈취

🛡️ 대응 방법

Argo CD를 2.1.11, 2.2.6 또는 2.3.0 이상의 패치된 버전으로 업데이트하고, Application 생성/수정 권한을 엄격히 제한함

🔧 검증 코드

출력된 Argo CD 버전이 취약점이 해결된 버전(2.1.11, 2.2.6, 2.3.0 이상)인지 확인

Shell / Script
argocd version --client | grep -E 'argocd-version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes