{"id":"CVE-2023-34231","published":"2023-06-08T19:42:13Z","modified":"2025-01-06T19:45:43Z","title":"Snowflake Golang Driver vulnerable to Command Injection","vendor":"snowflakedb","product":"gosnowflake","tier":"tail","description":{"text":"gosnowflake is th Snowflake Golang driver. Prior to version 1.6.19, a command injection vulnerability exists in the Snowflake Golang driver via single sign-on (SSO) browser URL authentication. In order to exploit the potential for command injection, an attacker would need to be successful in (1) establishing a malicious resource and (2) redirecting users to utilize the resource. The attacker could set up a malicious, publicly accessible server which responds to the SSO URL with an attack payload. If the attacker then tricked a user into visiting the maliciously crafted connection URL, the user’s local machine would render the malicious payload, leading to a remote code execution. This attack scenario can be mitigated through URL whitelisting as well as common anti-phishing resources. A patch is available in version 1.6.19.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01962,"percentile":0.80853,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/snowflakedb/gosnowflake/pull/757","tags":["x_refsource_MISC"]},{"url":"https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c","tags":["x_refsource_MISC"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":16.17},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"snowflakedb","affectedVersions":[{"vendor":"snowflakedb","product":"gosnowflake","versions":["< 1.6.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-01-06T19:45:02.566674Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/snowflakedb/gosnowflake","vulnerableRanges":["<1.6.19"],"patched":["1.6.19"],"from":["GHSA-fwv2-65wh-2w8c"],"provenance":"source"}],"summary":{"text":"The gosnowflake Snowflake Golang driver contains a command injection flaw in its single sign-on (SSO) browser URL authentication handling, affecting versions prior to 1.6.19. An attacker who hosts a malicious publicly accessible server returning an attack payload to the SSO URL, and who tricks a user into visiting a crafted connection URL, can achieve remote code execution on the user's local machine.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:46Z"},"euvd":{"id":"EUVD-2023-1792","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-snowflakedb-gosnowflake-cve-2023-34231","children":[{"from":"CVE-2023-34231","to":"CVE-2026-86597","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["url_util.go"],"commits":["https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c","https://github.com/snowflakedb/gosnowflake/commit/52e397ecd02f741dda99994fad9d42154149ef6a"],"basis":"rarely changed file"}]}]}}