{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2022-4046 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-4046 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4046 is a high-severity memory corruption vulnerability in Codesys Control for Beaglebone Sl, published on 3 Aug 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-4046 and fix it if it is affected.\n\nWhat it is: CVE-2022-4046 is a high-severity memory corruption vulnerability in Codesys Control for Beaglebone Sl, published on 3 Aug 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-4046 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-4046/ (Markdown: https://insights.sbomify.com/CVE-2022-4046/index.md)","id":"CVE-2022-4046","markdown":"https://insights.sbomify.com/CVE-2022-4046/index.md","name":"CVE-2022-4046","record":{"aliases":["GHSA-w93c-fgm5-qf42"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS Control Runtime","requires_auth":"low_privilege","summary":"Remote attackers with user privileges can exploit improper memory restrictions in CODESYS Control to gain full device access.","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_sl","vendor":"codesys"},{"product":"control_rte_sl_\\(for_beckhoff_cx\\)","vendor":"codesys"},{"product":"control_runtime_system_toolkit","vendor":"codesys"},{"product":"control_win_sl","vendor":"codesys"},{"product":"hmi_sl","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-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"In CODESYS Control in multiple versions a improper restriction of operations within the bounds of a memory buffer allow an remote attacker with user privileges to gain full access of the device.","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: Improper memory restrictions fro CODESYS Control","id":"CVE-2022-4046","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":"Return Refund and Exchange For WooCommerce \u003c 4.0.9 - Unauthenticated Arbitrary File Upload","id":"CVE-2022-4047"},"packages":[],"prev":{"headline":"Denial of service in Mattermost","id":"CVE-2022-4045"},"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 HMI (SL)"],"published":"2023-08-03","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: 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":"2026-05-29","vendors":["CODESYS"]},"summary":"Remote attackers with user privileges can exploit improper memory restrictions in CODESYS Control to gain full device access.","url":"https://insights.sbomify.com/CVE-2022-4046/"}