🇰🇷 한글 설명
Ansible의 k8s 모듈을 사용하여 Kubernetes를 관리할 때, 비밀번호나 토큰 같은 민감한 파라미터가 환경 변수가 아닌 명령줄 인자로 kubectl에 전달되는 보안 결함이 발견되었습니다. 이로 인해 프로세스 목록에서 비밀 정보가 노출될 수 있으며, debug 모듈의 no_log 설정이 적용되지 않아 표준 출력 및 로그 파일에 비밀 정보가 기록될 수 있습니다.
💡 쉬운 설명
Ansible로 쿠버네티스를 조작할 때 비밀번호가 명령창에 그대로 노출되어 다른 사람이 훔쳐볼 수 있는 문제입니다. 보안 설정을 해도 로그 파일에 비밀번호가 글자 그대로 남게 되어 위험합니다.
🇺🇸 원문 (English)
A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.
📍 영향받는 시스템
Ansible Engine 2.7.x (< 2.7.17), 2.8.x (< 2.8.11), 2.9.x (< 2.9.7)
⚔️ 공격 벡터
시스템 프로세스 목록 확인 또는 로그 파일 분석을 통한 민감 정보 탈취
🛡️ 대응 방법
Ansible 버전을 2.7.17, 2.8.11 또는 2.9.7 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 Ansible 버전이 취약점이 해결된 버전(2.7.17, 2.8.11, 2.9.7 이상)인지 확인합니다.
ansible --version | grep -E 'core|version'