snowflake-connector-python@1.4.15 vulnerabilities

Snowflake Connector for Python

Direct Vulnerabilities

Known vulnerabilities in the snowflake-connector-python 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
Insertion of Sensitive Information into Log File

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File due to the logging of sensitive information when the logging level is set to DEBUG. An attacker can access sensitive data such as Duo passcodes and Azure SAS tokens by obtaining access to the logs.

Note: If the SecretDetector logging formatter is enabled, could lead to incomplete JWT tokens and certain private key formats.

How to fix Insertion of Sensitive Information into Log File?

Upgrade snowflake-connector-python to version 3.12.3 or higher.

[,3.12.3)
  • H
Arbitrary Command Injection

snowflake-connector-python is a Snowflake Connector for Python

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-connector-python to version 3.0.2 or higher.

[,3.0.2)
  • M
Regular Expression Denial of Service (ReDoS)

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regex. Exploiting this vulnerability is possible when an attacker can supply arbitrary input to the get_file_transfer_type method.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade snowflake-connector-python to version 2.8.2 or higher.

[0,2.8.2)