Snowflake CLI SQL Injection Through Improper Neutralization of Parameters in Secret Creation and SPCS Service Log Commands
Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution. An attacker could exploit this by supplying crafted values to vulnerable command paths, causing Snowflake CLI to execute unintended SQL in the context of the user’s Snowflake session. Successful exploitation required crafted values to reach vulnerable parameters, including through socially engineered input, malicious repository configuration, or compromised automation feeding external values into the CLI, and impact is limited by the privileges assigned to the active session. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') |
Type: CWE
Description: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.1 | 6.0 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
Version: 3.1
Base score: 6.0
Base severity: MEDIUM
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N