Description
gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition. When using the Easy Logging feature on Linux and macOS, the Driver reads logging configuration from a user-provided file. On Linux and macOS the Driver verifies that the configuration file can be written to only by its owner. That check was vulnerable to a TOCTOU race condition and failed to verify that the file owner matches the user running the Driver. This could allow a local attacker with write access to the configuration file or the directory containing it to overwrite the configuration and gain control over logging level and output location. This issue has been patched in version 1.13.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| snowflakedb | gosnowflake | >= 1.7.0, < 1.13.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | alloy | 1.9.1-1.1 | openSUSE-SU-2025:15207-1 |
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250506T153719-1.1 | openSUSE-SU-2025:15059-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | telegraf | 1.31.0-27 | — |
| Azure Linux 2 (CBL-Mariner) | telegraf | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | grafana-alloy | 1.8.2-r1 | — |
| Wolfi rolling | opentelemetry-collector-contrib +1 | 0.125.0-r1 | — |
| Wolfi rolling | splunk-otel-collector | 0.124.0-r1 | — |
| Wolfi rolling | sql_exporter | 0.17.1-r8 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/snowflakedb/gosnowflake | >= 1.7.0, < 1.13.3 | 1.13.3 | GHSA-6jgm-j7h2-2fqg |
Advisories 2
- openSUSE-SU-2025:15207-1 alloy-1.9.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15059-1 govulncheck-vulndb-0.0.20250506T153719-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026