Improper handling of untrusted remote references in Snowflake CLI versions prior to 3.19 allowed server-side request forgery. The SQL statement reader's !source/!load directives could reference remote URLs that were retrieved at runtime without sufficient restriction on the request destination. By supplying crafted SQL content processed through a vulnerable command path, an attacker could cause the victim's environment to issue unintended outbound requests to internal or otherwise non-public network locations, and could cause remote SQL content to be retrieved and executed in the context of the victim user's session. Successful exploitation requires the victim to process attacker-controlled content through a vulnerable command path and is limited by the privileges available to that session and environment. The fix is available in Snowflake CLI version 3.19, which adds an option to disable remote URL retrieval.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NSnowflake Cli
APPSnowflake1.1.0 – 3.19.0 (bez)
Related vulnerabilities
Improper neutralization of attacker-controlled content in Snowflake CLI versions prior to 3.19 allowed uninten...
Improper neutralization in the Snowpark annotation processor callback template in Snowflake CLI versions prior...
Improper restriction of file path resolution in Snowflake CLI versions prior to 3.19 allowed arbitrary local f...
Insertion of sensitive information into log files in Snowflake CLI versions prior to 3.19 allowed plaintext cr...
Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution...