snowflake-sdk@1.3.2 vulnerabilities

Node.js driver for Snowflake

Direct Vulnerabilities

Known vulnerabilities in the snowflake-sdk package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Arbitrary Command Injection

snowflake-sdk is a Node.js driver for Snowflake

Affected versions of this package are vulnerable to Arbitrary Command Injection via single sign-on (SSO) browser URL authentication. In order to exploit the potential for command injection, an attacker would need to be successful in (1) establishing a malicious resource and (2) redirecting users to utilize the resource. The attacker could set up a malicious, publicly accessible server which responds to the SSO URL with an attack payload. If the attacker then tricked a user into visiting the maliciously crafted connection URL, the user’s local machine would render the malicious payload, leading to a remote code execution.

Mitigation:

This attack scenario can be mitigated through URL whitelisting as well as common anti-phishing resources.

How to fix Arbitrary Command Injection?

Upgrade snowflake-sdk to version 1.6.21 or higher.

<1.6.21