{"id":"CVE-2023-34233","published":"2023-06-08T20:22:13Z","modified":"2025-01-06T19:38:29Z","title":"Snowflake Python Connector vulnerable to Command Injection","vendor":"snowflakedb","product":"snowflake-connector-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01841,"percentile":0.79525,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-5w5m-pfw9-c8fp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/pull/1480","tags":["x_refsource_MISC"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/1cdbd3b1403c5ef520d7f4d9614fe35165e101ac","tags":["x_refsource_MISC"]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":15.91},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"snowflakedb","affectedVersions":[{"vendor":"snowflakedb","product":"snowflake-connector-python","versions":["< 3.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-01-06T19:38:23.664296Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"snowflake-connector-python","vulnerableRanges":["<3.0.2"],"patched":["3.0.2"],"from":["GHSA-5w5m-pfw9-c8fp","PYSEC-2023-88"],"provenance":"source"}],"summary":{"text":"The Snowflake Connector for Python (snowflake-connector-python, from snowflakedb) contains a command injection flaw in its single sign-on browser URL authentication, affecting versions prior to 3.0.2. An attacker who can host a malicious publicly accessible server and get a user to visit a crafted connection URL can cause the user's local machine to render an attack payload, achieving remote code execution, provided the user is tricked into interacting with that link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:46Z"},"euvd":{"id":"EUVD-2023-0241","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-42965","published":"2022-11-09","fixed":"2.8.2","kev":false},{"cve":"CVE-2023-34233","published":"2023-06-08","fixed":"3.0.2","kev":false},{"cve":"CVE-2024-49750","published":"2024-10-24","fixed":"3.12.3","kev":false,"link":{"from":"CVE-2023-34233","to":"CVE-2024-49750","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:snowflake-connector-python","fromFixed":"3.0.2","toFixed":"3.12.3","daysApart":504}]}},{"cve":"CVE-2025-24793","published":"2025-01-29","fixed":"3.13.1","kev":false},{"cve":"CVE-2025-24794","published":"2025-01-29","fixed":"3.13.1","kev":false}],"package":"PyPI:snowflake-connector-python"}}