🇰🇷 한글 설명
Helm 3.0부터 3.5.2 미만 버전에서 신뢰할 수 없는 소스의 데이터가 적절히 정제되지 않는 취약점이 발견되었습니다. Chart.yaml, index.yaml, plugin.yaml 파일 내의 특정 필드에 포함된 악성 코드가 터미널 화면을 조작하거나 명령을 실행할 수 있는 위험이 있습니다.
💡 쉬운 설명
Helm이라는 도구를 사용할 때, 나쁜 의도를 가진 사람이 만든 설정 파일을 읽으면 컴퓨터 화면이 이상하게 변하거나 잘못된 정보가 표시될 수 있습니다. 이는 터미널 화면을 속여서 사용자를 혼란에 빠뜨릴 수 있는 보안 문제입니다.
🇺🇸 원문 (English)
Helm is open-source software which is essentially "The Kubernetes Package Manager". Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. In Helm from version 3.0 and before version 3.5.2, there a few cases where data loaded from potentially untrusted sources was not properly sanitized. When a SemVer in the `version` field of a chart is invalid, in some cases Helm allows the string to be used "as is" without sanitizing. Helm fails to properly sanitized some fields present on Helm repository `index.yaml` files. Helm does not properly sanitized some fields in the `plugin.yaml` file for plugins In some cases, Helm does not properly sanitize the fields in the `Chart.yaml` file. By exploiting these attack vectors, core maintainers were able to send deceptive information to a terminal screen running the `helm` command, as well as obscure or alter information on the screen. In some cases, we could send codes that terminals used to execute higher-order logic, like clearing a terminal screen. Further, during evaluation, the Helm maintainers discovered a few other fields that were not properly sanitized when read out of repository index files. This fix remedies all such cases, and once again enforces SemVer2 policies on version fields. All users of the Helm 3 should upgrade to the fixed version 3.5.2 or later. Those who use Helm as a library should verify that they either sanitize this data on their own, or use the proper Helm API calls to sanitize the data.
📍 영향받는 시스템
Helm version 3.0 to < 3.5.2
⚔️ 공격 벡터
조작된 index.yaml, plugin.yaml 또는 Chart.yaml 파일을 통해 터미널 제어 문자를 주입하는 방식
🛡️ 대응 방법
Helm을 3.5.2 버전 이상으로 업그레이드하십시오.
🔧 검증 코드
출력된 버전 번호가 3.5.2보다 낮으면 취약한 상태이며, 3.5.2 이상이면 안전합니다.
helm version --template '{{.Version}}'