Incorrect Permission Assignment for Critical Resource Affecting snowflake-sdk package, versions >=1.12.0 <2.0.2


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 IDSNYK-JS-SNOWFLAKESDK-8674924
  • published30 Jan 2025
  • disclosed29 Jan 2025
  • creditUnknown

Introduced: 29 Jan 2025

NewCVE-2025-24791  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade snowflake-sdk to version 2.0.2 or higher.

Overview

snowflake-sdk is a Node.js driver for Snowflake

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource on the temporary credential cache used for the EXTERNALBROWSER and USERNAME_PASSWORD_MFA authentication methods with temporary credential caching enabled. A user with write permissions on the cache directory can plant a file there to capture the cached credentials when they are written and gain access.

References

CVSS Scores

version 4.0
version 3.1