{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-28851 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-28851 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-28851 is a medium-severity vulnerability in snowflakedb snowflake-hive-metastore-connector, published on 15 Mar 2024. 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-2024-28851 and fix it if it is affected.\n\nWhat it is: CVE-2024-28851 is a medium-severity vulnerability in snowflakedb snowflake-hive-metastore-connector, published on 15 Mar 2024. 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-2024-28851 in the wild and no public exploit code.\n\nAffected product: snowflakedb snowflake-hive-metastore-connector. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-28851/ (Markdown: https://insights.sbomify.com/CVE-2024-28851/index.md)","id":"CVE-2024-28851","markdown":"https://insights.sbomify.com/CVE-2024-28851/index.md","name":"CVE-2024-28851","record":{"aliases":["GHSA-r68p-g2x9-mq7x"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Snowflake Hive connector","requires_auth":"high_privilege","summary":"A malicious insider can modify a helper script to execute arbitrary code with elevated privileges on the local system.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"snowflake_hive_metastore_connector","vendor":"snowflake"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"The Snowflake Hive metastore connector provides an easy way to query Hive-managed data via Snowflake. Snowflake Hive MetaStore Connector has addressed a potential elevation of privilege vulnerability in a `helper script` for the Hive MetaStore Connector. A malicious insider without admin privileges could, in theory, use the script to download content from a Microsoft domain to the local system and replace the valid content with malicious code. If the attacker then also had local access to the same system where the maliciously modified script is run, they could attempt to manipulate users into executing the attacker-controlled helper script, potentially gaining elevated privileges to the local system. The vulnerability in the script was patched on February 09, 2024, without a version bump to the Connector. User who use the helper script are strongly advised to use the latest version as soon as possible. Users unable to upgrade should avoid using the helper script.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Elevation of privilege in Snowflake Hive MetaStore Connector Helper script","id":"CVE-2024-28851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Ampache has multiple reflective XSS vulnerabilities","id":"CVE-2024-28852"},"packages":[],"prev":{"headline":"WP Crontrol possible RCE when combined with a pre-condition","id":"CVE-2024-28850"},"products":["snowflake-hive-metastore-connector"],"published":"2024-03-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2024-08-28","vendors":["snowflakedb"]},"summary":"A malicious insider can modify a helper script to execute arbitrary code with elevated privileges on the local system.","url":"https://insights.sbomify.com/CVE-2024-28851/"}