{"id":"CVE-2025-24790","aliases":["CVE-2025-24790","GHSA-33g6-495w-v8j2"],"related":[],"kind":"vulnerability","state":"published","title":"Snowflake JDBC uses insecure temporary credential cache file permissions","summary":"Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Snowflake 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. This vulnerability affects versions 3.6.8 through 3.21.0. Snowflake fixed the issue in version 3.22.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Snowflake 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. This vulnerability affects versions 3.6.8 through 3.21.0. Snowflake fixed the issue in version 3.22.0.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Snowflake JDBC proporciona un controlador JDBC tipo 4 que admite funciones básicas, lo que permite que los programas Java se conecten a Snowflake. Snowflake descubrió y solucionó una vulnerabilidad en el controlador JDBC de Snowflake. En los sistemas Linux, cuando se habilita el almacenamiento en caché de credenciales temporales, el controlador JDBC de Snowflake almacenará en caché las credenciales temporales de forma local en un archivo legible para todo el mundo. Esta vulnerabilidad afecta a las versiones 3.6.8 a 3.21.0. Snowflake solucionó el problema en la versión 3.22.0.","source":"nvd"}],"published":"2025-01-29T17:49:19.771Z","modified":"2026-09-10T03:50:21.801Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"version":">= 3.6.8, < 3.22.0","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-jdbc","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.6.8","status":"affected","fixed":"3.22.0"}],"ecosystem":"Maven","package":"net.snowflake:snowflake-jdbc","purl":"pkg:maven/net.snowflake/snowflake-jdbc","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.6.8","fixed":"3.22.0"}],"vendor":"snowflake","product":"snowflake_jdbc","cpe":"cpe:2.3:a:snowflake:snowflake_jdbc:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-33g6-495w-v8j2","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/snowflakedb/snowflake-jdbc/commit/9e1a5acf12406b16c4780ca013f4c4db48b74b59","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24790","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-jdbc","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-29T18:00:01.732Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24790","url":"https://www.cve.org/CVERecord?id=CVE-2025-24790","licence":"CVE Terms of Use","modified":"2025-02-12T19:51:13.788Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-33g6-495w-v8j2","url":"https://github.com/advisories/GHSA-33g6-495w-v8j2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.801Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24790","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24790","licence":"Public domain","modified":"2026-06-17T08:59:36.863Z"}],"updatedAt":"2026-11-25T22:58:53.668Z","epss":{"score":0.00191,"percentile":0.09197,"date":"2026-12-01T12:00:22.000Z"}}