{"answers":{"affected":"It affects 15 products.","exploited":"There is no known exploitation of CVE-2022-34821 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-34821 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-34821 is a high-severity code injection vulnerability in Siemens RUGGEDCOM RM1224 LTE(4G) EU, published on 12 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-34821 and fix it if it is affected.\n\nWhat it is: CVE-2022-34821 is a high-severity code injection vulnerability in Siemens RUGGEDCOM RM1224 LTE(4G) EU, published on 12 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-34821 in the wild and no public exploit code.\n\nAffected product: Siemens RUGGEDCOM RM1224 LTE(4G) EU. 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-2022-34821/ (Markdown: https://insights.sbomify.com/CVE-2022-34821/index.md)","id":"CVE-2022-34821","markdown":"https://insights.sbomify.com/CVE-2022-34821/index.md","name":"CVE-2022-34821","record":{"aliases":["GHSA-xx9f-xg2j-c647"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Siemens SCALANCE router","requires_auth":"high_privilege","summary":"Attackers can inject malicious code into Siemens SCALANCE routers, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"simatic_cp_1242-7_v2_firmware","vendor":"siemens"},{"product":"simatic_cp_1243-1_firmware","vendor":"siemens"},{"product":"simatic_cp_1243-7_lte_eu_firmware","vendor":"siemens"},{"product":"simatic_cp_1243-7_lte_us_firmware","vendor":"siemens"},{"product":"simatic_cp_1243-8_irc_firmware","vendor":"siemens"},{"product":"simatic_cp_1542sp-1_irc_firmware","vendor":"siemens"},{"product":"simatic_cp_1543-1_firmware","vendor":"siemens"},{"product":"simatic_cp_1543sp-1_firmware","vendor":"siemens"},{"product":"siplus_et_200sp_cp_1542sp-1_irc_tx_rail_firmware","vendor":"siemens"},{"product":"siplus_et_200sp_cp_1543sp-1_isec_firmware","vendor":"siemens"},{"product":"siplus_et_200sp_cp_1543sp-1_isec_tx_rail_firmware","vendor":"siemens"},{"product":"siplus_net_cp_1242-7_v2_firmware","vendor":"siemens"},{"product":"siplus_net_cp_1543-1_firmware","vendor":"siemens"},{"product":"siplus_s7-1200_cp_1243-1_firmware","vendor":"siemens"},{"product":"siplus_s7-1200_cp_1243-1_rail_firmware","vendor":"siemens"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability has been identified in RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2), SCALANCE M812-1 ADSL-Router (6GK5812-1AA00-2AA2), SCALANCE M812-1 ADSL-Router (6GK5812-1BA00-2AA2), SCALANCE M816-1 ADSL-Router (6GK5816-1AA00-2AA2), SCALANCE M816-1 ADSL-Router (6GK5816-1BA00-2AA2), SCALANCE M826-2 SHDSL-Router (6GK5826-2AB00-2AB2), SCALANCE M874-2 (6GK5874-2AA00-2AA2), SCALANCE M874-3 (6GK5874-3AA00-2AA2), SCALANCE M876-3 (6GK5876-3AA02-2BA2), SCALANCE M876-3 (ROK) (6GK5876-3AA02-2EA2), SCALANCE M876-4 (6GK5876-4AA10-2BA2), SCALANCE M876-4 (EU) (6GK5876-4AA00-2BA2), SCALANCE M876-4 (NAM) (6GK5876-4AA00-2DA2), SCALANCE MUM853-1 (EU) (6GK5853-2EA00-2DA1), SCALANCE MUM856-1 (EU) (6GK5856-2EA00-3DA1), SCALANCE MUM856-1 (RoW) (6GK5856-2EA00-3AA1), SCALANCE S615 EEC LAN-Router (6GK5615-0AA01-2AA2), SCALANCE S615 LAN-Router (6GK5615-0AA00-2AA2), SCALANCE SC622-2C (6GK5622-2GS00-2AC2), SCALANCE SC622-2C (6GK5622-2GS00-2AC2), SCALANCE SC626-2C (6GK5626-2GS00-2AC2), SCALANCE SC626-2C (6GK5626-2GS00-2AC2), SCALANCE SC632-2C (6GK5632-2GS00-2AC2), SCALANCE SC632-2C (6GK5632-2GS00-2AC2), SCALANCE SC636-2C (6GK5636-2GS00-2AC2), SCALANCE SC636-2C (6GK5636-2GS00-2AC2), SCALANCE SC642-2C (6GK5642-2GS00-2AC2), SCALANCE SC642-2C (6GK5642-2GS00-2AC2), SCALANCE SC646-2C (6GK5646-2GS00-2AC2), SCALANCE SC646-2C (6GK5646-2GS00-2AC2), SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0), SCALANCE WAM763-1 (US) (6GK5763-1AL00-7DB0), SCALANCE WAM766-1 (6GK5766-1GE00-7DA0), SCALANCE WAM766-1 (ME) (6GK5766-1GE00-7DC0), SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0), SCALANCE WAM766-1 EEC (6GK5766-1GE00-7TA0), SCALANCE WAM766-1 EEC (ME) (6GK5766-1GE00-7TC0), SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0), SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0), SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0), SCALANCE WUM763-1 (6GK5763-1AL00-3AA0), SCALANCE WUM763-1 (6GK5763-1AL00-3DA0), SCALANCE WUM763-1 (US) (6GK5763-1AL00-3AB0), SCALANCE WUM763-1 (US) (6GK5763-1AL00-3DB0), SCALANCE WUM766-1 (6GK5766-1GE00-3DA0), SCALANCE WUM766-1 (ME) (6GK5766-1GE00-3DC0), SCALANCE WUM766-1 (USA) (6GK5766-1GE00-3DB0), SIMATIC CP 1242-7 V2 (6GK7242-7KX31-0XE0), SIMATIC CP 1243-1 (6GK7243-1BX30-0XE0), SIMATIC CP 1243-7 LTE EU (6GK7243-7KX30-0XE0), SIMATIC CP 1243-7 LTE US (6GK7243-7SX30-0XE0), SIMATIC CP 1243-8 IRC (6GK7243-8RX30-0XE0), SIMATIC CP 1542SP-1 IRC (6GK7542-6VX00-0XE0), SIMATIC CP 1543-1 (6GK7543-1AX00-0XE0), SIMATIC CP 1543SP-1 (6GK7543-6WX00-0XE0), SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL (6AG2542-6VX00-4XE0), SIPLUS ET 200SP CP 1543SP-1 ISEC (6AG1543-6WX00-7XE0), SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL (6AG2543-6WX00-4XE0), SIPLUS NET CP 1242-7 V2 (6AG1242-7KX31-7XE0), SIPLUS NET CP 1543-1 (6AG1543-1AX00-2XE0), SIPLUS S7-1200 CP 1243-1 (6AG1243-1BX30-2AX0), SIPLUS S7-1200 CP 1243-1 RAIL (6AG2243-1BX30-1XE0). By injecting code to specific configuration options for OpenVPN, an attacker could execute arbitrary code with elevated privileges.","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":"Code injection in RUGGEDCOM RM1224 LTE(4G) EU","id":"CVE-2022-34821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"Path traversal in CLUSTERPRO X","id":"CVE-2022-34822"},"packages":[],"prev":{"headline":"Command injection in SIMATIC CP 1242-7 V2","id":"CVE-2022-34820"},"products":["RUGGEDCOM RM1224 LTE(4G) EU","RUGGEDCOM RM1224 LTE(4G) NAM","SCALANCE M804PB","SCALANCE M812-1 ADSL-Router","SCALANCE M816-1 ADSL-Router","SCALANCE M826-2 SHDSL-Router","SCALANCE M874-2","SCALANCE M874-3","SCALANCE M876-3","SCALANCE M876-3 (ROK)","SCALANCE M876-4","SCALANCE M876-4 (EU)","SCALANCE M876-4 (NAM)","SCALANCE MUM853-1 (EU)","SCALANCE MUM856-1 (EU)","SCALANCE MUM856-1 (RoW)","SCALANCE S615 EEC LAN-Router","SCALANCE S615 LAN-Router","SCALANCE SC622-2C","SCALANCE SC626-2C","SCALANCE SC632-2C","SCALANCE SC636-2C","SCALANCE SC642-2C","SCALANCE SC646-2C","SCALANCE WAB762-1","SCALANCE WAM763-1","SCALANCE WAM763-1 (ME)","SCALANCE WAM763-1 (US)","SCALANCE WAM766-1","SCALANCE WAM766-1 (ME)","SCALANCE WAM766-1 (US)","SCALANCE WAM766-1 EEC","SCALANCE WAM766-1 EEC (ME)","SCALANCE WAM766-1 EEC (US)","SCALANCE WUB762-1","SCALANCE WUB762-1 iFeatures","SCALANCE WUM763-1","SCALANCE WUM763-1 (US)","SCALANCE WUM766-1","SCALANCE WUM766-1 (ME)","SCALANCE WUM766-1 (USA)","SIMATIC CP 1242-7 V2","SIMATIC CP 1243-1","SIMATIC CP 1243-7 LTE EU","SIMATIC CP 1243-7 LTE US","SIMATIC CP 1243-8 IRC","SIMATIC CP 1542SP-1 IRC","SIMATIC CP 1543-1","SIMATIC CP 1543SP-1","SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL","SIPLUS ET 200SP CP 1543SP-1 ISEC","SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL","SIPLUS NET CP 1242-7 V2","SIPLUS NET CP 1543-1","SIPLUS S7-1200 CP 1243-1","SIPLUS S7-1200 CP 1243-1 RAIL"],"published":"2022-07-12","related":[{"cvss_score":10,"headline":"Memory corruption in SIMATIC CP 1242-7 V2","id":"CVE-2022-34819","kev_date_added":null,"published":"2022-07-12"},{"cvss_score":8.4,"headline":"Command injection in SIMATIC CP 1242-7 V2","id":"CVE-2022-34820","kev_date_added":null,"published":"2022-07-12"},{"cvss_score":7.5,"headline":"Use after free in SIMATIC CP 1242-7 V2","id":"CVE-2022-43716","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":7.5,"headline":"Denial of service in SIMATIC CP 1242-7 V2","id":"CVE-2022-43767","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":7.5,"headline":"Denial of service in SIMATIC CP 1242-7 V2","id":"CVE-2022-43768","kev_date_added":null,"published":"2023-04-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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["Siemens"]},"summary":"Attackers can inject malicious code into Siemens SCALANCE routers, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2022-34821/"}