{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-4850 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-4850 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-4850 is a high-severity denial of service vulnerability in Siemens AG SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below, published on 16 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-4850 and fix it if it is affected.\n\nWhat it is: CVE-2018-4850 is a high-severity denial of service vulnerability in Siemens AG SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below, published on 16 May 2018. 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-2018-4850 in the wild and no public exploit code.\n\nAffected product: Siemens AG SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below. 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-2018-4850/ (Markdown: https://insights.sbomify.com/CVE-2018-4850/index.md)","id":"CVE-2018-4850","markdown":"https://insights.sbomify.com/CVE-2018-4850/index.md","name":"CVE-2018-4850","record":{"aliases":["GHSA-9c5r-829c-7rjc"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens SIMATIC PLC","requires_auth":"none","summary":"Improper validation of S7 communication packets allows attackers to cause a Denial-of-Service condition on Siemens SIMATIC S7-400 CPUs.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"simatic_s7-400_firmware","vendor":"siemens"},{"product":"simatic_s7-400h_firmware","vendor":"siemens"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability has been identified in SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below (All versions), SIMATIC S7-400 (incl. F) CPU hardware version 5.0 (All firmware versions \u003c V5.2), SIMATIC S7-400H CPU hardware version 4.5 and below (All versions). The affected CPUs improperly validate S7 communication packets which could cause a Denial-of-Service condition of the CPU. The CPU will remain in DEFECT mode until manual restart.","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":"Denial of service in SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below","id":"CVE-2018-4850","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Denial of service in SICLOCK TC100, SICLOCK TC400","id":"CVE-2018-4851"},"packages":[],"prev":{"headline":"Weak cryptography in Siveillance VMS Video for Android, Siveillance VMS Video for iOS","id":"CVE-2018-4849"},"products":["SIMATIC S7-400 (incl. F) CPU hardware version 4.0 and below, SIMATIC S7-400 (incl. F) CPU hardware version 5.0, SIMATIC S7-400H CPU hardware version 4.5 and below"],"published":"2018-05-16","related":[{"cvss_score":8.2,"headline":"Denial of service in SIMATIC S7-400 CPU 412-1 DP V7","id":"CVE-2018-16557","kev_date_added":null,"published":"2018-12-13"},{"cvss_score":7.5,"headline":"Denial of service in SIMATIC S7-400 CPU 412-1 DP V7","id":"CVE-2018-16556","kev_date_added":null,"published":"2018-12-13"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Siemens AG"]},"summary":"Improper validation of S7 communication packets allows attackers to cause a Denial-of-Service condition on Siemens SIMATIC S7-400 CPUs.","url":"https://insights.sbomify.com/CVE-2018-4850/"}