CVE-2023-34233 json
Snowflake Python Connector vulnerable to Command Injection
published 2023-06-08 3 y ago modified 2026-06-17 4 mo ago also GHSA-5w5m-pfw9-c8fp , PYSEC-2023-88 , EUVD-2023-0241
- cvss
- 7.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Versions prior to 3.0.2 are vulnerable to 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. This attack scenario can be mitigated through URL whitelisting as well as common anti-phishing resources. Version 3.0.2 contains a patch for this issue.
Patch / fix
- pypi snowflake-connector-python 3.0.2
- snowflake snowflake_connector 3.0.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 22 mo ago
Exploit prediction
1.84% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | snowflake-connector-python | <3.0.2 |
3.0.2 |
Affected products
- snowflakedb snowflake-connector-python
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/snowflakedb/snowflake-connector-python/pull/1480
web, patch, vendor-advisory, advisory
-
github.com
/snowflakedb/snowflake-connector-python/commit/1cdbd3b1403c5ef520d7f4d9614fe35165e101ac
web, patch
-
github.com
/snowflakedb/snowflake-connector-python/security/advisories/GHSA-5w5m-pfw9-c8fp
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-34233
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2023-88.yaml
web
-
github.com
/snowflakedb/snowflake-connector-python
package
Sources
- CVE List CVE-2023-34233
- GitHub Advisory GHSA-5w5m-pfw9-c8fp
- NVD CVE-2023-34233
- OSV PYSEC-2023-88
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.