Missing origin validation for the externalbrowser authenticator callback in multiple Snowflake client drivers
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SnowflakeSnowflake Connector for Python |
< 4.8.0→ 4.8.0 |
4.8.0 |
| SnowflakeSnowflake Go Driver |
≥ 2.0.0, < 2.3.0→ 2.3.0 |
2.3.0 |
| SnowflakeSnowflake JDBC Driver |
≥ 3.2.3, < 4.4.0→ 4.4.0 |
4.4.0 |
| SnowflakeSnowflake JDBC Driver (FIPS) |
≥ 3.2.3, < 4.4.0→ 4.4.0 |
4.4.0 |
| SnowflakeSnowflake JDBC Driver (Thin) |
≥ 3.2.3, < 4.4.0→ 4.4.0 |
4.4.0 |
| SnowflakeSnowflake Node.js Driver |
≥ 1.6.0, < 3.4.0→ 3.4.0 |
3.4.0 |
| SnowflakeSnowflake Connector for .NET |
≥ 1.0.12, < 6.3.0→ 6.3.0 |
6.3.0 |
| SnowflakeSnowflake ODBC Driver |
≥ 3.7.0, < 4.0.0→ 4.0.0 |
4.0.0 |
| SnowflakeSnowflake PHP PDO Driver |
≥ 3.2.0, < 4.3.0→ 4.3.0 |
4.3.0 |
| SnowflakeSnowflake Libsnowflakeclient |
≥ 2.1.0, < 2.11.1→ 2.11.1 |
2.11.1 |
Original description The description as published by the source.
Multiple Snowflake client drivers implementing the authenticator=externalbrowser single sign-on flow could have allowed an attacker to interfere with a user's login attempt through weaknesses in the local loopback callback listener used to receive the identity provider's response. The listener reflected an arbitrary request's Origin header into its CORS response headers and accepted the first token-bearing request it received during the login window without verifying a CSRF state value bound to that specific login attempt. An attacker able to reach the listener during an active login might have leveraged this to submit a forged callback response, causing the authentication attempt to fail. The fix is available in Snowflake Connector for Python 4.8.0, Snowflake Go Driver v2.3.0, Snowflake JDBC Driver 4.4.0 (including the snowflake-jdbc-fips and snowflake-jdbc-thin artifacts), Snowflake Node.js Driver 3.4.0, Snowflake Connector for .NET 6.3.0, Snowflake ODBC Driver 4.0.0, Snowflake PHP PDO Driver 4.3.0, and libsnowflakeclient 2.11.1. Go v1 users must migrate to the latest major version of the module. Users must manually upgrade.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package github.com
- package github.com
- package github.com
- package github.com
- package github.com
- package github.com
- web github.com
- web docs.snowflake.com
- web docs.snowflake.com
- web docs.snowflake.com
- web docs.snowflake.com
- web docs.snowflake.com
- web docs.snowflake.com
- web github.com
- web github.com
- web pkg.go.dev
- web pypi.org
- web registry.npmjs.org
- web repo.maven.apache.org
- web nuget.org