{"answers":{"affected":"3 open source packages ship an affected version, including snowflake-connector-python. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-49750 in the wild and no public exploit code.","fix":"Upgrade snowflake-connector-python to 3.12.3 or later.","what":"CVE-2024-49750 is a medium-severity vulnerability in snowflakedb snowflake-connector-python, published on 24 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-49750 and fix it if it is affected.\n\nWhat it is: CVE-2024-49750 is a medium-severity vulnerability in snowflakedb snowflake-connector-python, published on 24 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-49750 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- snowflake-connector-python (PyPI): affected all versions; fixed in 3.12.3\n- snowflake-connector-python (PyPI): affected all versions; fixed in 3.12.3\n- snowflake-connector-python (PyPI): affected all versions; fixed in 3.12.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-49750/ (Markdown: https://insights.sbomify.com/CVE-2024-49750/index.md)","id":"CVE-2024-49750","markdown":"https://insights.sbomify.com/CVE-2024-49750/index.md","name":"CVE-2024-49750","record":{"aliases":["ECHO-10ab-2811-913a","GHSA-5vvg-pvhp-hv2m","MINI-wg37-j2v3-x2fq","PYSEC-2024-191"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python database connector","requires_auth":"low_privilege","summary":"Attackers with log access can view sensitive Duo passcodes and Azure SAS tokens if DEBUG logging is enabled in the Snowflake Python connector.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"snowflake_connector","vendor":"snowflake"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Prior to version 3.12.3, when the logging level was set by the user to DEBUG, the Connector could have logged Duo passcodes (when specified via the `passcode` parameter) and Azure SAS tokens. Additionally, the SecretDetector logging formatter, if enabled, contained bugs which caused it to not fully redact JWT tokens and certain private key formats. Snowflake released version 3.12.3 of the Snowflake Connector for Python, which fixes the issue. In addition to upgrading, users should review their logs for any potentially sensitive information that may have been captured.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Snowflake Connector for Python has sensitive data in logs","id":"CVE-2024-49750","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Frappe Press possible HTML injection through SaaS Signup inputs","id":"CVE-2024-49751"},"packages":[{"ecosystem":"PyPI","fixed":["3.12.3"],"introduced":["0"],"last_affected":[],"package":"snowflake-connector-python","purl":null,"source":"GHSA-5vvg-pvhp-hv2m"},{"ecosystem":"PyPI","fixed":["3.12.3"],"introduced":["0"],"last_affected":[],"package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","source":"GHSA-5vvg-pvhp-hv2m"},{"ecosystem":"PyPI","fixed":["3.12.3"],"introduced":["0"],"last_affected":[],"package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","source":"PYSEC-2024-191"}],"prev":{"headline":"Integer overflow in Android","id":"CVE-2024-49749"},"products":["snowflake-connector-python"],"published":"2024-10-24","related":[{"cvss_score":7.3,"headline":"Snowflake Connector vulnerable to Command Injection","id":"CVE-2023-34230","kev_date_added":null,"published":"2023-06-08"},{"cvss_score":7.3,"headline":"Snowflake NodeJS Driver vulnerable to Command Injection","id":"CVE-2023-34232","kev_date_added":null,"published":"2023-06-08"},{"cvss_score":7.3,"headline":"Snowflake Python Connector vulnerable to Command Injection","id":"CVE-2023-34233","kev_date_added":null,"published":"2023-06-08"},{"cvss_score":7,"headline":"Snowflake Connector for Python has an SQL Injection in write_pandas","id":"CVE-2025-24793","kev_date_added":null,"published":"2025-01-29"},{"cvss_score":6.7,"headline":"The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache","id":"CVE-2025-24794","kev_date_added":null,"published":"2025-01-29"},{"cvss_score":6,"headline":"Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL)","id":"CVE-2023-51662","kev_date_added":null,"published":"2023-12-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-25","vendors":["snowflakedb"]},"summary":"Attackers with log access can view sensitive Duo passcodes and Azure SAS tokens if DEBUG logging is enabled in the Snowflake Python connector.","url":"https://insights.sbomify.com/CVE-2024-49750/"}