🇰🇷 한글 설명
Snowflake CLI 3.19 미만 버전에서 파일 경로 해석 제한이 부적절하여 로컬 파일의 임의 내용이 읽히고 Snowflake 서비스로 전송될 수 있는 취약점이 발견되었습니다. 공격자는 조작된 저장소나 프로젝트 콘텐츠를 통해 의도된 범위를 벗어난 로컬 파일을 읽고 이를 배포 또는 SQL 템플릿 처리 과정에서 유출할 수 있습니다.
💡 쉬운 설명
공격자가 만든 특수한 프로젝트 파일을 실행하면, 컴퓨터에 있는 중요한 개인 파일이 몰래 Snowflake 서버로 전송될 수 있는 문제입니다. 사용자가 검증되지 않은 프로젝트 파일을 Snowflake CLI로 처리할 때 발생합니다.
🇺🇸 원문 (English)
Improper restriction of file path resolution in Snowflake CLI versions prior to 3.19 allowed arbitrary local file content to be read and transmitted to Snowflake services. An attacker could exploit this by supplying crafted repository or project content that referenced files outside the intended project boundary, causing Snowflake CLI to read local files and upload or embed their contents during deployment or SQL template processing. Successful exploitation required the victim to process attacker-controlled project content, and retrieval of exfiltrated data depended on access to the victim's Snowflake account artifacts such as query history or uploaded stage content. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.
📍 영향받는 시스템
Snowflake CLI 3.19 미만 모든 버전
⚔️ 공격 벡터
조작된 저장소 또는 프로젝트 콘텐츠를 통한 경로 조작 및 파일 유출
🛡️ 대응 방법
Snowflake CLI를 3.19 버전 이상으로 수동 업그레이드
🔧 검증 코드
출력된 버전 번호가 3.19 미만인지 확인하여 취약 여부를 판단합니다.
snowflake --version 2>/dev/null | grep -E 'version'