{"answers":{"affected":"2 open source packages ship an affected version, including Snowflake.Data. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-24788 in the wild and no public exploit code.","fix":"Upgrade Snowflake.Data to 4.3.0 or later.","what":"CVE-2025-24788 is a medium-severity vulnerability in snowflakedb snowflake-connector-net, published on 29 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-24788 and fix it if it is affected.\n\nWhat it is: CVE-2025-24788 is a medium-severity vulnerability in snowflakedb snowflake-connector-net, published on 29 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-24788 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Snowflake.Data (NuGet): affected from 2.0.12; fixed in 4.3.0\n- Snowflake.Data (NuGet): affected from 2.0.12; fixed in 4.3.0\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-2025-24788/ (Markdown: https://insights.sbomify.com/CVE-2025-24788/index.md)","id":"CVE-2025-24788","markdown":"https://insights.sbomify.com/CVE-2025-24788/index.md","name":"CVE-2025-24788","record":{"aliases":["GHSA-2mqw-rq5m-8hc8"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Snowflake .NET connector","requires_auth":"low_privilege","summary":"Local attackers can read sensitive data from temporary files due to weak permissions in the Snowflake .NET connector.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"snowflake_connector","vendor":"snowflake"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"snowflake-connector-net is the Snowflake Connector for .NET. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine. This vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.","ecosystems":["NuGet"],"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 .NET has weak temporary files permissions","id":"CVE-2025-24788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Snowflake JDBC allows an untrusted search path on Windows","id":"CVE-2025-24789"},"packages":[{"ecosystem":"NuGet","fixed":["4.3.0"],"introduced":["2.0.12"],"last_affected":[],"package":"Snowflake.Data","purl":null,"source":"GHSA-2mqw-rq5m-8hc8"},{"ecosystem":"NuGet","fixed":["4.3.0"],"introduced":["2.0.12"],"last_affected":[],"package":"Snowflake.Data","purl":"pkg:nuget/Snowflake.Data","source":"GHSA-2mqw-rq5m-8hc8"}],"prev":{"headline":"Parameter injection in DB connection URIs leading to local file inclusion in WhoDB","id":"CVE-2025-24787"},"products":["snowflake-connector-net"],"published":"2025-01-29","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"},{"cvss_score":5.5,"headline":"Snowflake Connector for Python has sensitive data in logs","id":"CVE-2024-49750","kev_date_added":null,"published":"2024-10-24"}],"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":"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":"2025-01-31","vendors":["snowflakedb"]},"summary":"Local attackers can read sensitive data from temporary files due to weak permissions in the Snowflake .NET connector.","url":"https://insights.sbomify.com/CVE-2025-24788/"}