{"answers":{"affected":"It affects 8 products.","exploited":"There is no known exploitation of CVE-2022-2848 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-2848 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2848 is a critical memory corruption vulnerability in Kepware KEPServerEX, published on 29 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2848 and fix it if it is affected.\n\nWhat it is: CVE-2022-2848 is a critical memory corruption vulnerability in Kepware KEPServerEX, published on 29 Mar 2023. 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-2022-2848 in the wild and no public exploit code.\n\nAffected product: Kepware KEPServerEX. 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-2848/ (Markdown: https://insights.sbomify.com/CVE-2022-2848/index.md)","id":"CVE-2022-2848","markdown":"https://insights.sbomify.com/CVE-2022-2848/index.md","name":"CVE-2022-2848","record":{"aliases":["GHSA-f952-wvmx-6w24"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Industrial IoT server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code with SYSTEM privileges on Kepware KEPServerEX via a heap-based buffer overflow in text encoding handling.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"industrial_gateway_server","vendor":"ge"},{"product":"kepware_kepserverex","vendor":"ptc"},{"product":"opc-aggregator","vendor":"ptc"},{"product":"thingworx_industrial_connectivity","vendor":"ptc"},{"product":"thingworx_kepware_edge","vendor":"ptc"},{"product":"thingworx_kepware_server","vendor":"ptc"},{"product":"kepserver_enterprise","vendor":"rockwellautomation"},{"product":"top_server","vendor":"softwaretoolbox"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of text encoding conversions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of SYSTEM. Was ZDI-CAN-16486.","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 KEPServerEX","id":"CVE-2022-2848","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Heap-based Buffer Overflow in vim/vim","id":"CVE-2022-2849"},"packages":[],"prev":{"headline":"SourceCodester Guest Management System front.php sql injection","id":"CVE-2022-2847"},"products":["KEPServerEX"],"published":"2023-03-29","related":[{"cvss_score":9.8,"headline":"Memory corruption in KEPServerEX","id":"CVE-2022-2825","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":9.8,"headline":"Memory corruption in PTC Kepware KEPServerEX; ThingWorx Industrial Connectivity; OPC-Aggregator; Rockwell Automation KEPServer Enterprise; GE Digital Industrial Gateway Server; Software Toolbox TOP Server","id":"CVE-2020-27265","kev_date_added":null,"published":"2021-01-13"},{"cvss_score":9.1,"headline":"Heap Based Buffer Overflow in PTC KEPServerEx","id":"CVE-2023-5908","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":9.1,"headline":"Memory corruption in GE Digital Industrial Gateway Server","id":"CVE-2020-27263","kev_date_added":null,"published":"2021-01-13"},{"cvss_score":9.1,"headline":"Memory corruption in GE Digital Industrial Gateway Server","id":"CVE-2020-27267","kev_date_added":null,"published":"2021-01-13"},{"cvss_score":7.5,"headline":"Improper Validation of Certificate with Host Mismatch in PTC KEPServerEx","id":"CVE-2023-5909","kev_date_added":null,"published":"2023-11-30"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-18","vendors":["Kepware"]},"summary":"Remote attackers can execute arbitrary code with SYSTEM privileges on Kepware KEPServerEX via a heap-based buffer overflow in text encoding handling.","url":"https://insights.sbomify.com/CVE-2022-2848/"}