CVE-2025-24790
Snowflake JDBC uses insecure temporary credential cache file permissions
Reported by github_m · Published January 29, 2025
snowflake-jdbc is fixed in 3.22.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| net.snowflake:snowflake-jdbc | Maven Central | 3.22.0 |
| trino | Wolfi | 472-r0 |
| flyway | Wolfi | 11.2.0-r1 |
| trino | Chainguard | 472-r0 |
| flyway | Chainguard | 11.2.0-r1 |
| snowflake_jdbc | snowflake | 3.22.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| snowflakedb | snowflake-jdbc | >= 3.6.8, < 3.22.0 |
| wolfi | trino | 0 |
| wolfi | flyway | 0 |
| chainguard | trino | 0 |
| chainguard | flyway | 0 |
| Maven | net.snowflake:snowflake-jdbc | 3.6.8 |
| snowflakedb | snowflake-jdbc | 3.6.8 |
Timeline
- Jan 29, 2025 CVE Published
- Jan 30, 2025 EPSS Score (30 in total, the first dated here)
- Feb 1, 2025 Coalition ESS Score (16 in total, the first dated here)
- Dec 19, 2025 Security Advisory
- Apr 18, 2026 PoC Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24790
vulnetix vdb fixes CVE-2025-24790
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24790/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-33g6-495w-v8j2 x_refsource_CONFIRM
- https://github.com/snowflakedb/snowflake-jdbc/commit/9e1a5acf12406b16c4780ca013f4c4db48b74b59 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-24790 advisory
- https://github.com/advisories/GHSA-33g6-495w-v8j2 advisory
- https://github.com/snowflakedb/snowflake-jdbc url