{"answers":{"affected":"It affects 29 products.","exploited":"There is no known exploitation of CVE-2021-25668 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-25668 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-25668 is a critical memory corruption vulnerability in Siemens SCALANCE X200-4P IRT, published on 22 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-25668 and fix it if it is affected.\n\nWhat it is: CVE-2021-25668 is a critical memory corruption vulnerability in Siemens SCALANCE X200-4P IRT, published on 22 Apr 2021. 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-2021-25668 in the wild and no public exploit code.\n\nAffected product: Siemens SCALANCE X200-4P IRT. 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-2021-25668/ (Markdown: https://insights.sbomify.com/CVE-2021-25668/index.md)","id":"CVE-2021-25668","markdown":"https://insights.sbomify.com/CVE-2021-25668/index.md","name":"CVE-2021-25668","record":{"aliases":["GHSA-6c9x-5xpr-57p9"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens SCALANCE switch","requires_auth":"none","summary":"Incorrect POST request processing in Siemens SCALANCE switches allows heap out-of-bounds writes, enabling remote code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"scalance_x200-4p_irt_firmware","vendor":"siemens"},{"product":"scalance_x201-3p_irt_firmware","vendor":"siemens"},{"product":"scalance_x201-3p_irt_pro_firmware","vendor":"siemens"},{"product":"scalance_x202-2_irt_firmware","vendor":"siemens"},{"product":"scalance_x202-2p_irt_firmware","vendor":"siemens"},{"product":"scalance_x202-2p_irt_pro_firmware","vendor":"siemens"},{"product":"scalance_x204-2_firmware","vendor":"siemens"},{"product":"scalance_x204-2fm_firmware","vendor":"siemens"},{"product":"scalance_x204-2ld_firmware","vendor":"siemens"},{"product":"scalance_x204-2ld_ts_firmware","vendor":"siemens"},{"product":"scalance_x204-2ts_firmware","vendor":"siemens"},{"product":"scalance_x204_irt_firmware","vendor":"siemens"},{"product":"scalance_x204_irt_pro_firmware","vendor":"siemens"},{"product":"scalance_x206-1_firmware","vendor":"siemens"},{"product":"scalance_x206-1ld_firmware","vendor":"siemens"},{"product":"scalance_x208_firmware","vendor":"siemens"},{"product":"scalance_x208pro_firmware","vendor":"siemens"},{"product":"scalance_x212-2_firmware","vendor":"siemens"},{"product":"scalance_x212-2ld_firmware","vendor":"siemens"},{"product":"scalance_x216_firmware","vendor":"siemens"},{"product":"scalance_x224_firmware","vendor":"siemens"},{"product":"scalance_xf201-3p_irt_firmware","vendor":"siemens"},{"product":"scalance_xf202-2p_irt_firmware","vendor":"siemens"},{"product":"scalance_xf204-2_firmware","vendor":"siemens"},{"product":"scalance_xf204-2ba_irt_firmware","vendor":"siemens"},{"product":"scalance_xf204_firmware","vendor":"siemens"},{"product":"scalance_xf204_irt_firmware","vendor":"siemens"},{"product":"scalance_xf206-1_firmware","vendor":"siemens"},{"product":"scalance_xf208_firmware","vendor":"siemens"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"A vulnerability has been identified in SCALANCE X200-4P IRT (All versions \u003c 5.5.1), SCALANCE X201-3P IRT (All versions \u003c 5.5.1), SCALANCE X201-3P IRT PRO (All versions \u003c 5.5.1), SCALANCE X202-2 IRT (All versions \u003c 5.5.1), SCALANCE X202-2P IRT (incl. SIPLUS NET variant) (All versions \u003c 5.5.1), SCALANCE X202-2P IRT PRO (All versions \u003c 5.5.1), SCALANCE X204 IRT (All versions \u003c 5.5.1), SCALANCE X204 IRT PRO (All versions \u003c 5.5.1), SCALANCE X204-2 (incl. SIPLUS NET variant) (All versions \u003c V5.2.5), SCALANCE X204-2FM (All versions \u003c V5.2.5), SCALANCE X204-2LD (incl. SIPLUS NET variant) (All versions \u003c V5.2.5), SCALANCE X204-2LD TS (All versions \u003c V5.2.5), SCALANCE X204-2TS (All versions \u003c V5.2.5), SCALANCE X206-1 (All versions \u003c V5.2.5), SCALANCE X206-1LD (All versions \u003c V5.2.5), SCALANCE X208 (incl. SIPLUS NET variant) (All versions \u003c V5.2.5), SCALANCE X208PRO (All versions \u003c V5.2.5), SCALANCE X212-2 (incl. SIPLUS NET variant) (All versions \u003c V5.2.5), SCALANCE X212-2LD (All versions \u003c V5.2.5), SCALANCE X216 (All versions \u003c V5.2.5), SCALANCE X224 (All versions \u003c V5.2.5), SCALANCE XF201-3P IRT (All versions \u003c 5.5.1), SCALANCE XF202-2P IRT (All versions \u003c 5.5.1), SCALANCE XF204 (All versions \u003c V5.2.5), SCALANCE XF204 IRT (All versions \u003c 5.5.1), SCALANCE XF204-2 (incl. SIPLUS NET variant) (All versions \u003c V5.2.5), SCALANCE XF204-2BA IRT (All versions \u003c 5.5.1), SCALANCE XF206-1 (All versions \u003c V5.2.5), SCALANCE XF208 (All versions \u003c V5.2.5). Incorrect processing of POST requests in the webserver may result in write out of bounds in heap. An attacker might leverage this to cause denial-of-service on the device and potentially remotely execute code.","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":"Memory corruption in SCALANCE X200-4P IRT","id":"CVE-2021-25668","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in SCALANCE X200-4P IRT","id":"CVE-2021-25669"},"packages":[],"prev":{"headline":"Memory corruption in RUGGEDCOM RM1224","id":"CVE-2021-25667"},"products":["SCALANCE X200-4P IRT","SCALANCE X201-3P IRT","SCALANCE X201-3P IRT PRO","SCALANCE X202-2 IRT","SCALANCE X202-2P IRT (incl. SIPLUS NET variant)","SCALANCE X202-2P IRT PRO","SCALANCE X204 IRT","SCALANCE X204 IRT PRO","SCALANCE X204-2 (incl. SIPLUS NET variant)","SCALANCE X204-2FM","SCALANCE X204-2LD (incl. SIPLUS NET variant)","SCALANCE X204-2LD TS","SCALANCE X204-2TS","SCALANCE X206-1","SCALANCE X206-1LD","SCALANCE X208 (incl. SIPLUS NET variant)","SCALANCE X208PRO","SCALANCE X212-2 (incl. SIPLUS NET variant)","SCALANCE X212-2LD","SCALANCE X216","SCALANCE X224","SCALANCE XF201-3P IRT","SCALANCE XF202-2P IRT","SCALANCE XF204","SCALANCE XF204 IRT","SCALANCE XF204-2 (incl. SIPLUS NET variant)","SCALANCE XF204-2BA IRT","SCALANCE XF206-1","SCALANCE XF208"],"published":"2021-04-22","related":[{"cvss_score":9.8,"headline":"Memory corruption in SCALANCE X200-4P IRT","id":"CVE-2021-25669","kev_date_added":null,"published":"2021-04-22"},{"cvss_score":9.6,"headline":"Denial of service in SCALANCE X200-4P IRT","id":"CVE-2022-26649","kev_date_added":null,"published":"2022-07-12"},{"cvss_score":8.8,"headline":"Weak cryptography in SCALANCE X200-4P IRT","id":"CVE-2022-26647","kev_date_added":null,"published":"2022-07-12"},{"cvss_score":8.2,"headline":"Denial of service in SCALANCE X200-4P IRT","id":"CVE-2022-26648","kev_date_added":null,"published":"2022-07-12"},{"cvss_score":6.7,"headline":"Weak cryptography in SCALANCE X200-4P IRT","id":"CVE-2023-29054","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":6.1,"headline":"Cross-site scripting in SCALANCE X200-4P IRT","id":"CVE-2022-40631","kev_date_added":null,"published":"2022-10-11"}],"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-08-03","vendors":["Siemens"]},"summary":"Incorrect POST request processing in Siemens SCALANCE switches allows heap out-of-bounds writes, enabling remote code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2021-25668/"}