🔍 CVE-2022-23525

5.3
CVSS Score
MEDIUM
2022-12-15
2026-06-17 04:30
✅ 완료

🇰🇷 한글 설명

Helm 3.10.3 미만 버전의 _repo_ 패키지에서 NULL 포인터 역참조 취약점이 발견되었습니다. 악의적으로 조작된 저장소 인덱스 파일을 처리할 때 메모리 위반이 발생하여 프로그램이 비정상 종료될 수 있습니다. 이로 인해 Helm 클라이언트 또는 Helm SDK를 사용하는 애플리케이션에서 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

Helm이라는 도구가 잘못 만들어진 설정 파일을 읽을 때 갑자기 멈춰버리는 문제입니다. 공격자가 특수한 파일을 만들어 배포하면 사용자의 도구가 작동을 멈추게 할 수 있습니다.

🇺🇸 원문 (English)

Helm is a tool for managing Charts, pre-configured Kubernetes resources. Versions prior to 3.10.3 are subject to NULL Pointer Dereference in the _repo_package. The _repo_ package contains a handler that processes the index file of a repository. For example, the Helm client adds references to chart repositories where charts are managed. The _repo_ package parses the index file of the repository and loads it into structures Go can work with. Some index files can cause array data structures to be created causing a memory violation. Applications that use the _repo_ package in the Helm SDK to parse an index file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with an index file that causes a memory violation panic. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been patched in 3.10.3. SDK users can validate index files that are correctly formatted before passing them to the _repo_ functions.

📍 영향받는 시스템

Helm 3.10.3 미만 모든 버전

⚔️ 공격 벡터

조작된 인덱스 파일(index.yaml)이 포함된 차트 저장소를 Helm 클라이언트나 SDK가 파싱하도록 유도

🛡️ 대응 방법

Helm을 3.10.3 이상 버전으로 업데이트하거나, SDK 사용 시 인덱스 파일의 형식을 사전에 검증

🔧 검증 코드

출력된 버전이 v3.10.3 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
helm version | grep -E 'v(3\.[0-9]{1,2}\.[3-9]|3\.[1-9][0-9]\.|[4-9]\.)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes