Time-of-check Time-of-use (TOCTOU) Race Condition Affecting github.com/snowflakedb/gosnowflake package, versions >=1.7.0 <1.13.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSNOWFLAKEDBGOSNOWFLAKE-9901390
  • published29 Apr 2025
  • disclosed28 Apr 2025
  • creditUnknown

Introduced: 28 Apr 2025

NewCVE-2025-46327  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade github.com/snowflakedb/gosnowflake to version 1.13.3 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition when using the Easy Logging feature. A user with access to the config file can control it and expose log contents by directing the output to a readable location.

Note: Only applications running on Linux and macOS are vulnerable.

References

CVSS Base Scores

version 4.0
version 3.1