Credential disclosure via world-readable cache file
Published Jan 29, 2025 · Updated Jan 31, 2025
Incorrect file permissions in Snowflake Connector for Python 2.3.7 through 3.13.0 allow local users to read temporary credentials on Linux. The flush_temporary_credentials function opens the JSON credential cache with the process-default file mode instead of forcing owner-only permissions. Exposure requires temporary caching with EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication, allowing another local account to read the cached credentials.
Summary
What happened
Incorrect file permissions in Snowflake Connector for Python 2.3.7 through 3.13.0 allow local users to read temporary credentials on Linux. The flush_temporary_credentials function opens the JSON credential cache with the process-default file mode instead of forcing owner-only permissions. Exposure requires temporary caching with EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication, allowing another local account to read the cached credentials.
The record
- CVE
- CVE-2025-24795
- Published
- Jan 29, 2025
- Updated
- Jan 31, 2025
- Vendor
- Snowflake
- Product
- Snowflake Connector for Python
- Classifications
- CWE-276, T1552.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 29, 2025CVE publishedPublication date reported by the CVE source.
- Jan 31, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 2.3.7, < 3.13.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo