# CVE-2023-34231: Snowflake Golang Driver vulnerable to Command Injection

Source: https://junglewise.ai/threats/cve-2023-34231-snowflake-golang-driver-vulnerable-to-command-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-09  
License: CC BY 4.0 with a link back

CVE-2023-34231 · Severity: low · CVSS 3.1 · Published 2023-06-09

Snowflake Golang Driver vulnerable to Command Injection

Technologies: [github.com/snowflakedb/gosnowflake (Go)](https://junglewise.ai/threats/technologies/github-com-snowflakedb-gosnowflake). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-34231 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-34231 being exploited in the wild.

**How severe is CVE-2023-34231?** Low severity, with a CVSS score of 3.1, published 9 June 2023.

**Which products and versions are affected?** github.com/snowflakedb/gosnowflake (Go) SEMVER:introduced=0,fixed=1.6.19.

**Is there a fix for CVE-2023-34231?** Yes. github.com/snowflakedb/gosnowflake (Go): upgrade to 1.6.19 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-34231?** Check whether you run github.com/snowflakedb/gosnowflake (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/snowflakedb/gosnowflake (Go): upgrade to 1.6.19 or later

  ```sh
  go get github.com/snowflakedb/gosnowflake@v1.6.19
  ```


## Affected products

- github.com/snowflakedb/gosnowflake (Go) SEMVER:introduced=0,fixed=1.6.19

## Identifiers

- CVE-2023-34231
- GHSA-fwv2-65wh-2w8c

## Related threats

- [Snowflake drivers sensitive information insertion in logs](https://junglewise.ai/threats/cve-2026-86597-snowflake-drivers-sensitive-information-insertion-in-logs)
- [Go Snowflake Driver has race condition when checking access to Easy Logging configuration file](https://junglewise.ai/threats/cve-2025-46327-go-snowflake-driver-has-race-condition-when-checking-access-to)
