CVE-2025-46327 json
Go Snowflake Driver has race condition when checking access to Easy Logging configuration file
published 2025-04-28 18 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-12596 , GHSA-6jgm-j7h2-2fqg , GO-2025-3650
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/snowflakedb/gosnowflake 1.13.3
- snowflake gosnowflake 1.13.3
- alloy openSUSE Tumbleweed 1.9.1-1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250506T153719-1.1
opensuse advisories openSUSE-SU-2025:15207-1openSUSE-SU-2025:15059-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/snowflakedb/gosnowflake | >=1.7.0, <1.13.3 |
1.13.3 |
Affected products
- snowflakedb gosnowflake
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
-
github.com
/snowflakedb/gosnowflake/commit/ba94a4800e23621eff558ef18ce4b96ec5489ff0
web, patch
-
github.com
/snowflakedb/gosnowflake/security/advisories/GHSA-6jgm-j7h2-2fqg
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-46327
advisory
-
github.com
/snowflakedb/gosnowflake
package
-
pkg.go.dev
/vuln/GO-2025-3650
web
Sources
- CVE List CVE-2025-46327
- GitHub Advisory GHSA-6jgm-j7h2-2fqg
- NVD CVE-2025-46327
- OSV GO-2025-3650
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.