{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-52051 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-52051 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-52051 is a high-severity command injection vulnerability in Siemens SIMATIC S7-PLCSIM V17, published on 10 Dec 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-52051 and fix it if it is affected.\n\nWhat it is: CVE-2024-52051 is a high-severity command injection vulnerability in Siemens SIMATIC S7-PLCSIM V17, published on 10 Dec 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-52051 in the wild and no public exploit code.\n\nAffected product: Siemens SIMATIC S7-PLCSIM V17. 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-52051/ (Markdown: https://insights.sbomify.com/CVE-2024-52051/index.md)","id":"CVE-2024-52051","markdown":"https://insights.sbomify.com/CVE-2024-52051/index.md","name":"CVE-2024-52051","record":{"aliases":["GHSA-x2qg-388q-986c"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Siemens industrial automation software","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands on the host OS via unsanitized user settings in Siemens industrial automation software.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability has been identified in SIMATIC S7-PLCSIM V17 (All versions), SIMATIC S7-PLCSIM V18 (All versions), SIMATIC STEP 7 Safety V17 (All versions \u003c V17 Update 9), SIMATIC STEP 7 Safety V18 (All versions \u003c V18 Update 6), SIMATIC STEP 7 Safety V19 (All versions \u003c V19 Update 4), SIMATIC STEP 7 V17 (All versions \u003c V17 Update 9), SIMATIC STEP 7 V18 (All versions \u003c V18 Update 6), SIMATIC STEP 7 V19 (All versions \u003c V19 Update 4), SIMATIC WinCC Unified PC Runtime V18 (All versions), SIMATIC WinCC Unified PC Runtime V19 (All versions \u003c V19 Update 4), SIMATIC WinCC Unified V17 (All versions \u003c V17 Update 9), SIMATIC WinCC Unified V18 (All versions \u003c V18 Update 6), SIMATIC WinCC Unified V19 (All versions \u003c V19 Update 4), SIMATIC WinCC V17 (All versions \u003c V17 Update 9), SIMATIC WinCC V18 (All versions \u003c V18 Update 6), SIMATIC WinCC V19 (All versions \u003c V19 Update 4), SIMOCODE ES V17 (All versions), SIMOCODE ES V18 (All versions), SIMOCODE ES V19 (All versions), SIMOTION SCOUT TIA V5.4 (All versions), SIMOTION SCOUT TIA V5.5 (All versions), SIMOTION SCOUT TIA V5.6 (All versions \u003c V5.6 SP1 HF7), SINAMICS Startdrive V17 (All versions), SINAMICS Startdrive V18 (All versions), SINAMICS Startdrive V19 (All versions), SIRIUS Safety ES V17 (TIA Portal) (All versions), SIRIUS Safety ES V18 (TIA Portal) (All versions), SIRIUS Safety ES V19 (TIA Portal) (All versions), SIRIUS Soft Starter ES V17 (TIA Portal) (All versions), SIRIUS Soft Starter ES V18 (TIA Portal) (All versions), SIRIUS Soft Starter ES V19 (TIA Portal) (All versions), TIA Portal Cloud V17 (All versions), TIA Portal Cloud V18 (All versions), TIA Portal Cloud V19 (All versions \u003c V5.2.1.1). The affected devices do not properly sanitize  user-controllable input when parsing user settings. This could allow an attacker to locally execute arbitrary commands in the host operating system with the privileges of the user.","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":"Command injection in SIMATIC S7-PLCSIM V17","id":"CVE-2024-52051","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Stream Target Remote Code Execution in Wowza Streaming Engine","id":"CVE-2024-52052"},"packages":[],"prev":{"headline":"Path traversal in Trend Micro Apex One","id":"CVE-2024-52050"},"products":["SIMATIC S7-PLCSIM V17","SIMATIC S7-PLCSIM V18","SIMATIC STEP 7 Safety V17","SIMATIC STEP 7 Safety V18","SIMATIC STEP 7 Safety V19","SIMATIC STEP 7 V17","SIMATIC STEP 7 V18","SIMATIC STEP 7 V19","SIMATIC WinCC Unified PC Runtime V18","SIMATIC WinCC Unified PC Runtime V19","SIMATIC WinCC Unified V17","SIMATIC WinCC Unified V18","SIMATIC WinCC Unified V19","SIMATIC WinCC V17","SIMATIC WinCC V18","SIMATIC WinCC V19","SIMOCODE ES V17","SIMOCODE ES V18","SIMOCODE ES V19","SIMOTION SCOUT TIA V5.4","SIMOTION SCOUT TIA V5.5","SIMOTION SCOUT TIA V5.6","SINAMICS Startdrive V17","SINAMICS Startdrive V18","SINAMICS Startdrive V19","SIRIUS Safety ES V17 (TIA Portal)","SIRIUS Safety ES V18 (TIA Portal)","SIRIUS Safety ES V19 (TIA Portal)","SIRIUS Soft Starter ES V17 (TIA Portal)","SIRIUS Soft Starter ES V18 (TIA Portal)","SIRIUS Soft Starter ES V19 (TIA Portal)","TIA Portal Cloud V17","TIA Portal Cloud V18","TIA Portal Cloud V19"],"published":"2024-12-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2026-10-13","vendors":["Siemens"]},"summary":"Attackers can execute arbitrary commands on the host OS via unsanitized user settings in Siemens industrial automation software.","url":"https://insights.sbomify.com/CVE-2024-52051/"}