PT-2025-18121 · Unknown · Gosnowflake
Published
2025-04-28
·
Updated
2026-01-03
·
CVE-2025-46327
CVSS v3.1
7.0
High
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
gosnowflake versions 1.7.0 through 1.13.3
Description
The issue is related 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. The driver verifies that the configuration file can be written to only by its owner, but this check is vulnerable to a TOCTOU race condition and fails 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.
Recommendations
For versions 1.7.0 through 1.13.3, update to version 1.13.3 or later to resolve the issue.
As a temporary workaround, consider restricting write access to the configuration file and the directory containing it to prevent potential exploitation.
Exploit
Fix
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gosnowflake