snowflake-connector-python is vulnerable to Improper Certificate Validation
92
CVE Score
Critical
Improper Certificate Validation
The connector substitutes the standard library ssl.SSLContext with a PyOpenSSLContext when wrapping sockets, and in the affected versions that substitution accepts the peer certificate without verifying it matches the requested hostname. A network-positioned attacker able to intercept or redirect traffic can present a certificate signed by any trusted CA for any domain and have the connector accept the connection. This exposes credentials, query data, and staged file contents to interception and tampering, and can let the attacker issue arbitrary SQL within the victim's connector session. The fix carries forward TLS version, options, and verification flags from the stdlib context and adds explicit post-handshake hostname verification.
Upgrade the snowflake-connector-python library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.17.4 - 3.18.0
Fixed in 3.18.14.0.0 - 4.7.0
Fixed in 4.7.1snowflake-connector-python is vulnerable to Improper Certificate Validation in versions 3.17.4 - 3.18.0 and 4.0.0 - 4.7.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.