{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-5105 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-5105 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-5105 is a high-severity memory corruption vulnerability in 3S, published on 26 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-5105 and fix it if it is affected.\n\nWhat it is: CVE-2019-5105 is a high-severity memory corruption vulnerability in 3S, published on 26 Mar 2020. 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-2019-5105 in the wild and no public exploit code.\n\nAffected product: 3S. 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-2019-5105/ (Markdown: https://insights.sbomify.com/CVE-2019-5105/index.md)","id":"CVE-2019-5105","markdown":"https://insights.sbomify.com/CVE-2019-5105/index.md","name":"CVE-2019-5105","record":{"aliases":["GHSA-fhfx-4gh6-9wc2"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS GatewayService","requires_auth":"none","summary":"A specially crafted packet causes memory corruption in CODESYS GatewayService, leading to process termination and denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"codesys","vendor":"codesys"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"An exploitable memory corruption vulnerability exists in the Name Service Client functionality of 3S-Smart Software Solutions CODESYS GatewayService. A specially crafted packet can cause a large memcpy, resulting in an access violation and termination of the process. An attacker can send a packet to a device running the GatewayService.exe to trigger this vulnerability. All variants of the CODESYS V3 products in all versions prior V3.5.16.10 containing the CmpRouter or CmpRouterEmbedded component are affected, regardless of the CPU type or operating system: CODESYS Control for BeagleBone, CODESYS Control for emPC-A/iMX6, CODESYS Control for IOT2000, CODESYS Control for Linux, CODESYS Control for PLCnext, CODESYS Control for PFC100, CODESYS Control for PFC200, CODESYS Control for Raspberry Pi, CODESYS Control RTE V3, CODESYS Control RTE V3 (for Beckhoff CX), CODESYS Control Win V3 (also part of the CODESYS Development System setup), CODESYS Control V3 Runtime System Toolkit, CODESYS V3 Embedded Target Visu Toolkit, CODESYS V3 Remote Target Visu Toolkit, CODESYS V3 Safety SIL2, CODESYS Edge Gateway V3, CODESYS Gateway V3, CODESYS HMI V3, CODESYS OPC Server V3, CODESYS PLCHandler SDK, CODESYS V3 Simulation Runtime (part of the CODESYS Development System).","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 3S","id":"CVE-2019-5105","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2019"},"n_packages":0,"n_references":2,"next":{"headline":"Hardcoded credentials in WAGO e!Cockpit","id":"CVE-2019-5106"},"packages":[],"prev":{"headline":"Security feature bypass in OpenWRT","id":"CVE-2019-5102"},"products":["3S"],"published":"2020-03-26","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-16265","kev_date_added":null,"published":"2019-10-25"},{"cvss_score":9.1,"headline":"CODESYS V2 web server: crafted requests could trigger a buffer over-read (DoS)","id":"CVE-2021-34584","kev_date_added":null,"published":"2021-10-26"},{"cvss_score":8.8,"headline":"Deserialization in CODESYS","id":"CVE-2021-21869","kev_date_added":null,"published":"2021-08-25"},{"cvss_score":8.8,"headline":"Deserialization in CODESYS","id":"CVE-2021-21867","kev_date_added":null,"published":"2021-08-18"},{"cvss_score":8.8,"headline":"Deserialization in CODESYS","id":"CVE-2021-21868","kev_date_added":null,"published":"2021-08-18"},{"cvss_score":8.6,"headline":"Code injection in n/a","id":"CVE-2019-13538","kev_date_added":null,"published":"2019-09-17"},{"cvss_score":8.1,"headline":"CODESYS V2 runtime: out-of-bounds read or write access may result in denial-of-service","id":"CVE-2021-34595","kev_date_added":null,"published":"2021-10-26"}],"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-04","vendors":["n/a"]},"summary":"A specially crafted packet causes memory corruption in CODESYS GatewayService, leading to process termination and denial of service.","url":"https://insights.sbomify.com/CVE-2019-5105/"}