🔍 CVE-2022-24730

7.7
CVSS Score
HIGH
2022-03-23
2026-06-17 04:32
✅ 완료

🇰🇷 한글 설명

Argo CD의 특정 버전에서 경로 탐색(Path Traversal) 및 부적절한 접근 제어 취약점이 발견되었습니다. 읽기 전용 권한을 가진 사용자가 조작된 API 요청을 통해 repo-server 내의 민감한 파일이나 다른 애플리케이션의 소스 코드를 유출할 수 있습니다.

💡 쉬운 설명

권한이 낮은 사용자가 시스템의 허점을 이용해 원래는 볼 수 없는 중요한 파일들을 몰래 훔쳐볼 수 있는 문제입니다. 이를 통해 다른 사용자의 비밀번호나 중요한 설정 정보가 노출될 위험이 있습니다.

🇺🇸 원문 (English)

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.3.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal bug, compounded by an improper access control bug, allowing a malicious user with read-only repository access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `get` access for a repository containing a Helm chart can craft an API request to the `/api/v1/repositories/{repo_url}/appdetails` endpoint to leak the contents of out-of-bounds files from the repo-server. The malicious payload would reference an out-of-bounds file, and the contents of that file would be returned as part of the response. Contents from a non-YAML file may be returned as part of 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 other Applications' 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 patches prevent path traversal and limit access to users who either A) have been granted Application `create` privileges or B) have been granted Application `get` privileges and are requesting details for a `repo_url` that has already been used for the given Application. There are currently no known workarounds.

📍 영향받는 시스템

Argo CD 1.3.0 이상 ~ 2.1.11, 2.2.6, 2.3.0 미만 버전

⚔️ 공격 벡터

/api/v1/repositories/{repo_url}/appdetails 엔드포인트에 경로 탐색 페이로드를 포함한 API 요청 전송

🛡️ 대응 방법

Argo CD를 최신 패치 버전(2.1.11, 2.2.6 또는 2.3.0 이상)으로 업데이트

🔧 검증 코드

출력된 argocd-server의 버전이 취약점이 해결된 패치 버전(2.1.11, 2.2.6, 2.3.0 이상)인지 확인

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes