snowflake-sdk@1.2.1

Node.js driver for Snowflake

  • latest version

    3.3.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Improper Certificate Validation

    snowflake-sdk is a Node.js driver for Snowflake

    Affected versions of this package are vulnerable to Improper Certificate Validation in the OCSP processing functionality, which accepts an OCSP response without checking that its CertID matches the certificate being validated and treats definitive verification failures as transient. An attacker holding a once-valid, now-revoked certificate and its private key can complete a TLS connection as a trusted server and read or modify transmitted data by presenting the revoked certificate alongside an OCSP response issued for a different serial. This requires the attacker to obtain that revoked certificate and its private key for the target host and to hold a MitM position on the connection.

    How to fix Improper Certificate Validation?

    Upgrade snowflake-sdk to version 3.3.0 or higher.

    <3.3.0
    • 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