{"id":"CVE-2023-34231","sourceIdentifier":"security-advisories@github.com","published":"2023-06-08T20:15:09.483","lastModified":"2026-06-17T06:03:10.720","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"snowflakedb","product":"gosnowflake","versions":[{"version":"< 1.6.19","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV30":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.1,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-06T19:45:02.566674Z","id":"CVE-2023-34231","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-77"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:snowflake:gosnowflake:*:*:*:*:*:go:*:*","versionEndExcluding":"1.6.19","matchCriteriaId":"668069D3-1608-42C0-887B-7DC22B6D7DA0"}]}]}],"references":[{"url":"https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/snowflakedb/gosnowflake/pull/757","source":"security-advisories@github.com","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8c","source":"security-advisories@github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/snowflakedb/gosnowflake/commit/e11a2a555f1b9f7adc1f01fb7b5e7f38fbbb2a1c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/snowflakedb/gosnowflake/pull/757","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/snowflakedb/gosnowflake/security/advisories/GHSA-fwv2-65wh-2w8c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}