Skip to content
OpenAdvisories
Low · 3.3 CVE-2025-46327 EUVD-2025-12596GHSA-6jgm-j7h2-2fqgGO-2025-3650

Go Snowflake Driver has race condition when checking access to Easy Logging configuration file

Published Apr 28, 2025 · Updated Apr 29, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 telegraf 1.31.0-27 —
Azure Linux 2 (CBL-Mariner) telegraf No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Go github.com/snowflakedb/gosnowflake >= 1.7.0, < 1.13.3 1.13.3 GHSA-6jgm-j7h2-2fqg

Advisories 2

References