{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2019-1351 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2019-1351 is a high-severity path traversal vulnerability in Microsoft Visual Studio 2017, published on 24 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-1351 and fix it if it is affected.\n\nWhat it is: CVE-2019-1351 is a high-severity path traversal vulnerability in Microsoft Visual Studio 2017, published on 24 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-1351 in the wild and no public exploit code.\n\nAffected product: Microsoft Visual Studio 2017. 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-2019-1351/ (Markdown: https://insights.sbomify.com/CVE-2019-1351/index.md)","id":"CVE-2019-1351","markdown":"https://insights.sbomify.com/CVE-2019-1351/index.md","name":"CVE-2019-1351","record":{"aliases":["ALPINE-CVE-2019-1351","CLEANSTART-2026-NJ16875","DEBIAN-CVE-2019-1351","GHSA-74x9-89m7-944x","UBUNTU-CVE-2019-1351"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Git for Visual Studio","requires_auth":"none","summary":"An attacker can exploit improper virtual drive path handling in Git for Visual Studio to tamper with files and potentially execute code.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"visual_studio_2017","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"},{"product":"leap","vendor":"opensuse"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"description":"A tampering vulnerability exists when Git for Visual Studio improperly handles virtual drive paths, aka 'Git for Visual Studio Tampering Vulnerability'.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2020-07-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-07-13T00:33:43Z","kind":"github_poc","ref":"https://github.com/JonasDL/PruebaCVE20191351","stars":0,"title":"Prueba de CVE-2019-1351"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path traversal in Microsoft Visual Studio 2017","id":"CVE-2019-1351","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:visual_studio_2017","products":["microsoft:visual_studio_2017","microsoft:visual_studio_2019","opensuse:leap"],"type":"path_traversal","year":"2019"},"n_packages":0,"n_references":5,"next":{"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1352"},"packages":[],"prev":{"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1350"},"products":["Microsoft Visual Studio 2017","Microsoft Visual Studio 2017 version 15.9 (includes 15.1 - 15.8)","Microsoft Visual Studio 2019","Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)"],"published":"2020-01-24","related":[{"cvss_score":8.8,"headline":"Visual Studio Remote Code Execution Vulnerability","id":"CVE-2025-21178","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1349","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1350","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1352","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1354","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.8,"headline":"Visual Studio Remote Code Execution Vulnerability","id":"CVE-2023-28296","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":7.8,"headline":"Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2023-21566","kev_date_added":null,"published":"2023-02-14"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Microsoft"]},"summary":"An attacker can exploit improper virtual drive path handling in Git for Visual Studio to tamper with files and potentially execute code.","url":"https://insights.sbomify.com/CVE-2019-1351/"}