CVE-2023-34231: snowflake gosnowflake Command Injection
Vulnerability summary
CVE-2023-34231 is a high (CVSS 8.8) Command Injection vulnerability in snowflake gosnowflake. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 08-06-2023PublishedVulnerability first disclosed.
- 06-01-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · GoEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- NVDNIST7.3HighCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.96%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 1.96% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- telegraf-1.36< 1.36.2-r1
Github.com/snowflakedb1 product
- gosnowflake< 1.6.19
Snowflake1 product
- gosnowflake< 1.6.19
Snowflakedb1 product
- gosnowflake< 1.6.19
Wolfi1 product
- telegraf-1.36< 1.36.2-r1
5 vendors · 5 products
References
6 links- github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8cX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1cX Refsource MISCFIXWEBPatch