{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-47195 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-47195 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-47195 is a medium-severity path traversal vulnerability in Siemens ModelSim, published on 8 Oct 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-47195 and fix it if it is affected.\n\nWhat it is: CVE-2024-47195 is a medium-severity path traversal vulnerability in Siemens ModelSim, published on 8 Oct 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-47195 in the wild and no public exploit code.\n\nAffected product: Siemens ModelSim. 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-47195/ (Markdown: https://insights.sbomify.com/CVE-2024-47195/index.md)","id":"CVE-2024-47195","markdown":"https://insights.sbomify.com/CVE-2024-47195/index.md","name":"CVE-2024-47195","record":{"aliases":["GHSA-77jh-66cp-m24h"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Siemens ModelSim Questa","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary code and escalate privileges by placing malicious executables in user-writable directories when gdb.exe is launched.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"modelsim","vendor":"siemens"},{"product":"questa","vendor":"siemens"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"A vulnerability has been identified in ModelSim (All versions \u003c V2024.3), Questa (All versions \u003c V2024.3). gdb.exe in affected applications allows a specific executable file to be loaded from the current working directory. This could allow an authenticated local attacker to inject arbitrary code and escalate privileges in installations where administrators or processes with elevated privileges launch gdb.exe from a user-writable directory.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Path traversal in ModelSim","id":"CVE-2024-47195","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Path traversal in ModelSim","id":"CVE-2024-47196"},"packages":[],"prev":{"headline":"Other in ModelSim","id":"CVE-2024-47194"},"products":["ModelSim","Questa"],"published":"2024-10-08","related":[{"cvss_score":6.5,"headline":"Weak cryptography in ModelSim Simulation","id":"CVE-2021-42023","kev_date_added":null,"published":"2021-12-14"},{"cvss_score":5.4,"headline":"Code injection in ModelSim","id":"CVE-2024-53977","kev_date_added":null,"published":"2025-02-11"},{"cvss_score":5.4,"headline":"Other in ModelSim","id":"CVE-2024-47194","kev_date_added":null,"published":"2024-10-08"},{"cvss_score":5.4,"headline":"Path traversal in ModelSim","id":"CVE-2024-47196","kev_date_added":null,"published":"2024-10-08"}],"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-10-08","vendors":["Siemens"]},"summary":"Local attackers can execute arbitrary code and escalate privileges by placing malicious executables in user-writable directories when gdb.exe is launched.","url":"https://insights.sbomify.com/CVE-2024-47195/"}