🇰🇷 한글 설명
Snowflake Python API(snowflake.core) 1.13.0 미만 버전에서 입력값 검증 미흡으로 인해 경로 탐색(CWE-22) 및 HTTP 파라미터 오염(CWE-141) 취약점이 존재합니다. 공격자는 이를 통해 권한이 높은 세션에서 상위 리소스에 접근하거나 데이터 조작 명령의 제약 사항을 우회하여 권한 상승을 수행할 수 있습니다.
💡 쉬운 설명
프로그램이 사용자가 입력한 특수 문자를 제대로 걸러내지 못해 발생하는 보안 문제입니다. 이를 통해 공격자는 원래 허용되지 않은 파일이나 데이터에 접근하거나, 명령어를 조작하여 관리자 권한을 가로챌 수 있습니다.
🇺🇸 원문 (English)
Insufficient input sanitization in Snowflake Python API (`snowflake.core`) versions prior to 1.13.0 allowed confused-deputy privilege escalation through two related weaknesses: path traversal (CWE-22) via unencoded `..` identifier path segments, and HTTP parameter pollution (CWE-141) via unencoded `&`/`#`/`=` characters in query string values. An attacker with access to a downstream application built on snowflake.core could exploit the path traversal by supplying `..` as an object name, causing `snowflake.core` to issue REST requests against a parent resource or exploit the parameter pollution by injecting `&`/`#`/`=` into a free-form name field to override constraints on swap, clone, or rename operations — all executed under the application's privileged session. Successful exploitation requires the attacker to control an identifier or object-name string in an application built on snowflake.core that passes it to `snowflake.core` under a higher-privileged Snowflake session (e.g., an EXECUTE AS OWNER stored procedure, Streamlit app, or Native App). The fix is available in Snowflake Python API version 1.13.0, which also addresses several additional security findings. Users must manually upgrade.
📍 영향받는 시스템
Snowflake Python API (snowflake.core) versions prior to 1.13.0
⚔️ 공격 벡터
입력값에 '..' 또는 '&', '#', '='와 같은 특수 문자를 삽입하여 경로를 조작하거나 HTTP 요청 파라미터를 변조함
🛡️ 대응 방법
Snowflake Python API를 버전 1.13.0 이상으로 수동 업그레이드하십시오.
🔧 검증 코드
출력된 버전 번호가 1.13.0 미만이면 취약한 상태입니다.
pip show snowflake-core 2>/dev/null | grep Version