{"answers":{"affected":"2 open source packages ship an affected version, including net.snowflake:snowflake-jdbc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-24789 in the wild and no public exploit code.","fix":"Upgrade net.snowflake:snowflake-jdbc to 3.22.0 or later.","what":"CVE-2025-24789 is a high-severity vulnerability in snowflakedb snowflake-jdbc, published on 29 Jan 2025. 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-2025-24789 and fix it if it is affected.\n\nWhat it is: CVE-2025-24789 is a high-severity vulnerability in snowflakedb snowflake-jdbc, published on 29 Jan 2025. 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-2025-24789 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- net.snowflake:snowflake-jdbc (Maven): affected from 3.2.3; fixed in 3.22.0\n- net.snowflake:snowflake-jdbc (Maven): affected from 3.2.3; fixed in 3.22.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-24789/ (Markdown: https://insights.sbomify.com/CVE-2025-24789/index.md)","id":"CVE-2025-24789","markdown":"https://insights.sbomify.com/CVE-2025-24789/index.md","name":"CVE-2025-24789","record":{"aliases":["GHSA-7hpq-3g6w-pvhf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Snowflake JDBC driver","requires_auth":"low_privilege","summary":"An attacker with write access to a PATH directory can escalate privileges when the Snowflake JDBC driver uses EXTERNALBROWSER authentication on Windows.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"snowflake_jdbc","vendor":"snowflake"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"description":"Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. When the EXTERNALBROWSER authentication method is used on Windows, an attacker with write access to a directory in the %PATH% can escalate their privileges to the user that runs the vulnerable JDBC Driver version. This vulnerability affects versions 3.2.3 through 3.21.0 on Windows. Snowflake fixed the issue in version 3.22.0.","ecosystems":["Maven"],"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 JDBC allows an untrusted search path on Windows","id":"CVE-2025-24789","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"privilege_escalation","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Snowflake JDBC uses insecure temporary credential cache file permissions","id":"CVE-2025-24790"},"packages":[{"ecosystem":"Maven","fixed":["3.22.0"],"introduced":["3.2.3"],"last_affected":[],"package":"net.snowflake:snowflake-jdbc","purl":null,"source":"GHSA-7hpq-3g6w-pvhf"},{"ecosystem":"Maven","fixed":["3.22.0"],"introduced":["3.2.3"],"last_affected":[],"package":"net.snowflake:snowflake-jdbc","purl":"pkg:maven/net.snowflake/snowflake-jdbc","source":"GHSA-7hpq-3g6w-pvhf"}],"prev":{"headline":"Snowflake Connector for .NET has weak temporary files permissions","id":"CVE-2025-24788"},"products":["snowflake-jdbc"],"published":"2025-01-29","related":[{"cvss_score":7.3,"headline":"Snowflake JDBC vulnerable to command injection via SSO URL authentication","id":"CVE-2023-30535","kev_date_added":null,"published":"2023-04-14"},{"cvss_score":5.9,"headline":"Snowflake JDBC Security Advisory","id":"CVE-2024-43382","kev_date_added":null,"published":"2024-10-30"},{"cvss_score":4.8,"headline":"snowflakedb snowflake-jdbc JDBC URL SdkProxyRoutePlanner.java SdkProxyRoutePlanner redos","id":"CVE-2026-3293","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":4.4,"headline":"Snowflake JDBC uses insecure temporary credential cache file permissions","id":"CVE-2025-24790","kev_date_added":null,"published":"2025-01-29"},{"cvss_score":3.3,"headline":"Snowflake JDBC Driver client-side encryption key in DEBUG logs","id":"CVE-2025-27496","kev_date_added":null,"published":"2025-03-13"}],"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":"total"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["snowflakedb"]},"summary":"An attacker with write access to a PATH directory can escalate privileges when the Snowflake JDBC driver uses EXTERNALBROWSER authentication on Windows.","url":"https://insights.sbomify.com/CVE-2025-24789/"}