{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2022-47386 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-47386 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-47386 is a high-severity memory corruption vulnerability in Codesys Control for Beaglebone Sl, published on 15 May 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-47386 and fix it if it is affected.\n\nWhat it is: CVE-2022-47386 is a high-severity memory corruption vulnerability in Codesys Control for Beaglebone Sl, published on 15 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-47386 in the wild and no public exploit code.\n\nAffected product: Codesys Control for Beaglebone Sl. 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-47386/ (Markdown: https://insights.sbomify.com/CVE-2022-47386/index.md)","id":"CVE-2022-47386","markdown":"https://insights.sbomify.com/CVE-2022-47386/index.md","name":"CVE-2022-47386","record":{"aliases":["GHSA-f9r2-4c34-gvv3"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS runtime system","requires_auth":"low_privilege","summary":"Authenticated remote attackers can exploit a stack-based out-of-bounds write in CODESYS products to achieve remote code execution or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"control_for_beaglebone_sl","vendor":"codesys"},{"product":"control_for_empc-a\\/imx6_sl","vendor":"codesys"},{"product":"control_for_iot2000_sl","vendor":"codesys"},{"product":"control_for_linux_sl","vendor":"codesys"},{"product":"control_for_pfc100_sl","vendor":"codesys"},{"product":"control_for_pfc200_sl","vendor":"codesys"},{"product":"control_for_plcnext_sl","vendor":"codesys"},{"product":"control_for_raspberry_pi_sl","vendor":"codesys"},{"product":"control_for_wago_touch_panels_600_sl","vendor":"codesys"},{"product":"control_rte_\\(for_beckhoff_cx\\)_sl","vendor":"codesys"},{"product":"control_rte_\\(sl\\)","vendor":"codesys"},{"product":"control_runtime_system_toolkit","vendor":"codesys"},{"product":"control_win_\\(sl\\)","vendor":"codesys"},{"product":"development_system_v3","vendor":"codesys"},{"product":"hmi_\\(sl\\)","vendor":"codesys"},{"product":"safety_sil2_psp","vendor":"codesys"},{"product":"safety_sil2_runtime_toolkit","vendor":"codesys"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"An authenticated, remote attacker may use a stack based out-of-bounds write vulnerability in the CmpTraceMgr Component of multiple CODESYS products in multiple versions to write data into the stack which can lead to a denial-of-service condition, memory overwriting, or remote code execution.","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":"CODESYS: Multiple products prone to stack based out-of-bounds write","id":"CVE-2022-47386","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"codesys:control_for_beaglebone_sl","products":["codesys:control_for_beaglebone_sl","codesys:control_for_iot2000_sl","codesys:control_for_linux_sl","codesys:control_for_pfc100_sl","codesys:control_for_pfc200_sl","codesys:control_for_raspberry_pi_sl","codesys:control_runtime_system_toolkit"],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"CODESYS: Multiple products prone to stack based out-of-bounds write","id":"CVE-2022-47387"},"packages":[],"prev":{"headline":"CODESYS: Multiple products prone to stack based out-of-bounds write","id":"CVE-2022-47385"},"products":["CODESYS Control RTE (SL)","CODESYS Control RTE (for Beckhoff CX) SL","CODESYS Control Runtime System Toolkit","CODESYS Control Win (SL)","CODESYS Control for BeagleBone SL","CODESYS Control for IOT2000 SL","CODESYS Control for Linux SL","CODESYS Control for PFC100 SL","CODESYS Control for PFC200 SL","CODESYS Control for PLCnext SL","CODESYS Control for Raspberry Pi SL","CODESYS Control for WAGO Touch Panels 600 SL","CODESYS Control for emPC-A/iMX6 SL","CODESYS Development System V3","CODESYS HMI (SL)","CODESYS Safety SIL2 PSP","CODESYS Safety SIL2 Runtime Toolkit"],"published":"2023-05-15","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2019-9010","kev_date_added":null,"published":"2019-08-15"},{"cvss_score":9.8,"headline":"Misconfiguration in 3S-Smart Software Solutions GmbH CODESYS Control V3 products prior to version 3.5.14.0","id":"CVE-2018-10612","kev_date_added":null,"published":"2019-01-29"},{"cvss_score":8.8,"headline":"OS Command Injection in multiple CODESYS products","id":"CVE-2023-6357","kev_date_added":null,"published":"2023-12-05"},{"cvss_score":8.8,"headline":"CODESYS: Improper memory restrictions fro CODESYS Control","id":"CVE-2022-4046","kev_date_added":null,"published":"2023-08-03"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to out-of-bounds write","id":"CVE-2022-47379","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to out-of-bounds write","id":"CVE-2022-47380","kev_date_added":null,"published":"2023-05-15"},{"cvss_score":8.8,"headline":"CODESYS: Multiple products prone to stack based out-of-bounds write","id":"CVE-2022-47381","kev_date_added":null,"published":"2023-05-15"}],"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-03-05","vendors":["CODESYS"]},"summary":"Authenticated remote attackers can exploit a stack-based out-of-bounds write in CODESYS products to achieve remote code execution or cause denial of service.","url":"https://insights.sbomify.com/CVE-2022-47386/"}