🇰🇷 한글 설명
ansible-core의 _extract_collection_from_git() 함수에서 git clone 명령어를 생성할 때 '--' 구분자를 사용하지 않아 발생하는 취약점입니다. 공격자가 조작된 URI를 제공할 경우, 사용자가 'ansible-galaxy collection install'을 실행할 때 임의의 명령어가 실행될 수 있습니다. 이는 이전 취약점인 CVE-2026-11332에 대한 불완전한 수정으로 인해 발생했습니다.
💡 쉬운 설명
안시블(Ansible)에서 외부 도구를 설치할 때, 악의적으로 만들어진 주소를 사용하면 해커가 사용자의 컴퓨터에서 몰래 명령어를 실행할 수 있는 보안 결함입니다. 설치 과정에서 주소와 명령어를 구분하는 장치가 빠져 있어 발생하는 문제입니다.
🇺🇸 원문 (English)
A flaw was found in ansible-core. The _extract_collection_from_git() function in ansible-core's concrete_artifact_manager.py constructs git clone commands without a '--' (end-of-options) separator before user-supplied URLs when installing collections from git sources. An attacker who provides a crafted collection source URI containing git argument injection payloads can achieve arbitrary command execution when a user runs 'ansible-galaxy collection install' with the malicious source. This is an incomplete fix for CVE-2026-11332, which hardened the role install path but missed the equivalent collection install code path.
📍 영향받는 시스템
ansible-core (CVE-2026-11332 수정이 누락된 버전)
⚔️ 공격 벡터
조작된 git 소스 URI를 포함한 컬렉션 설치 시 git 인자 주입(Argument Injection)을 통한 공격
🛡️ 대응 방법
ansible-core를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 ansible-core의 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 확인하십시오.
ansible --version 2>/dev/null | grep -E 'core'