Incorrect Default Permissions Affecting net.snowflake:snowflake-jdbc package, versions [3.6.8,3.22.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-NETSNOWFLAKE-8674921
  • published30 Jan 2025
  • disclosed29 Jan 2025
  • creditUnknown

Introduced: 29 Jan 2025

NewCVE-2025-24790  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade net.snowflake:snowflake-jdbc to version 3.22.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Default Permissions on the temporary credential cache directory, handled in FileCacheManager.java. When using either EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods with temporary credential caching enabled, credentials are stored in a world-readable file due to insecure handling of temporary credential cache file permissions. Users with local access to ~/.cache/snowflake on Linux systems can read these stored credentials.

References

CVSS Scores

version 4.0
version 3.1