{"id":"GHSA-33g6-495w-v8j2","summary":"Snowflake JDBC uses insecure temporary credential cache file permissions","details":"### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. On Linux systems, when temporary credential caching is enabled, the Snowflake JDBC Driver will cache temporary credentials locally in a world-readable file.\n\nThis vulnerability affects versions 3.6.8 through 3.21.0. Snowflake fixed the issue in version 3.22.0.\n\n### Vulnerability Details\nOn Linux, when either EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods are used with temporary credential caching enabled, the Snowflake JDBC Driver will cache temporary credentials in a local file. In the vulnerable versions of the Driver, this file is created with world-readable permissions.\n\n### Solution\nSnowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.0.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).","aliases":["CVE-2025-24790"],"modified":"2026-09-10T03:50:21.801179619Z","published":"2025-01-29T18:42:07Z","database_specific":{"cwe_ids":["CWE-276"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-01-29T18:42:07Z","nvd_published_at":"2025-01-29T18:15:47Z"},"references":[{"type":"WEB","url":"https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-33g6-495w-v8j2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24790"},{"type":"WEB","url":"https://github.com/snowflakedb/snowflake-jdbc/commit/9e1a5acf12406b16c4780ca013f4c4db48b74b59"},{"type":"PACKAGE","url":"https://github.com/snowflakedb/snowflake-jdbc"}],"affected":[{"package":{"name":"net.snowflake:snowflake-jdbc","ecosystem":"Maven","purl":"pkg:maven/net.snowflake/snowflake-jdbc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.8"},{"fixed":"3.22.0"}]}],"versions":["3.10.0","3.10.1","3.10.2","3.10.3","3.11.0","3.11.1","3.12.0","3.12.1","3.12.10","3.12.11","3.12.12","3.12.13","3.12.14","3.12.15","3.12.16","3.12.17","3.12.2","3.12.3","3.12.4","3.12.5","3.12.6","3.12.7","3.12.8","3.12.9","3.13.0","3.13.1","3.13.10","3.13.11","3.13.12","3.13.13","3.13.14","3.13.15","3.13.16","3.13.17","3.13.18","3.13.19","3.13.2","3.13.20","3.13.21","3.13.22","3.13.23","3.13.24","3.13.25","3.13.26","3.13.27","3.13.28","3.13.29","3.13.3","3.13.30","3.13.31","3.13.32","3.13.33","3.13.34","3.13.4","3.13.5","3.13.6","3.13.7","3.13.8","3.13.9","3.14.0","3.14.1","3.14.2","3.14.3","3.14.4","3.14.5","3.15.0","3.15.1","3.16.0","3.16.1","3.17.0","3.17.1","3.18.0","3.18.1","3.19.0","3.19.1","3.20.0","3.20.1","3.21.0","3.21.1","3.6.10","3.6.11","3.6.12","3.6.13","3.6.14","3.6.15","3.6.16","3.6.17","3.6.18","3.6.19","3.6.20","3.6.21","3.6.22","3.6.23","3.6.24","3.6.25","3.6.26","3.6.27","3.6.28","3.6.8","3.6.9","3.7.0","3.7.1","3.7.2","3.8.0","3.8.1","3.8.2","3.8.3","3.8.4","3.8.5","3.8.6","3.8.7","3.8.8","3.9.0","3.9.1","3.9.2"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.21.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-33g6-495w-v8j2/GHSA-33g6-495w-v8j2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}