{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-5440 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-5440 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-5440 is a critical memory corruption vulnerability in 3S-Smart Software Solutions GmbH CODESYS Web Server, published on 15 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-5440 and fix it if it is affected.\n\nWhat it is: CVE-2018-5440 is a critical memory corruption vulnerability in 3S-Smart Software Solutions GmbH CODESYS Web Server, published on 15 Feb 2018. 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-2018-5440 in the wild and no public exploit code.\n\nAffected product: 3S-Smart Software Solutions GmbH CODESYS Web Server. 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-2018-5440/ (Markdown: https://insights.sbomify.com/CVE-2018-5440/index.md)","id":"CVE-2018-5440","markdown":"https://insights.sbomify.com/CVE-2018-5440/index.md","name":"CVE-2018-5440","record":{"aliases":["GHSA-8jg4-q5rf-9hjg"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS Web Server","requires_auth":"none","summary":"A stack-based buffer overflow in the CODESYS Web Server allows attackers to execute arbitrary code or cause a denial of service via crafted requests.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"codesys_runtime_system","vendor":"3s-software"},{"product":"codesys_web_server","vendor":"3s-software"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"A Stack-based Buffer Overflow issue was discovered in 3S-Smart CODESYS Web Server. Specifically: all Microsoft Windows (also WinCE) based CODESYS web servers running stand-alone Version 2.3, or as part of the CODESYS runtime system running prior to Version V1.1.9.19. A crafted request may cause a buffer overflow and could therefore execute arbitrary code on the web server or lead to a denial-of-service condition due to a crash in the web server.","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-Smart Software Solutions GmbH CODESYS Web Server","id":"CVE-2018-5440","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Other in PHOENIX CONTACT mGuard","id":"CVE-2018-5441"},"packages":[],"prev":{"headline":"Command injection in Nortek Linear eMerge E3 Series","id":"CVE-2018-5439"},"products":["3S-Smart Software Solutions GmbH CODESYS Web Server"],"published":"2018-02-15","related":[{"cvss_score":10,"headline":"3S CoDeSys Relative Path Traversal","id":"CVE-2012-6069","kev_date_added":null,"published":"2013-01-21"},{"cvss_score":9.8,"headline":"3S CoDeSys Improper Access Control","id":"CVE-2012-6068","kev_date_added":null,"published":"2013-01-21"},{"cvss_score":9.3,"headline":"Festo CECX-X-(C1/M1) Controller Improper Authentication","id":"CVE-2014-0760","kev_date_added":null,"published":"2014-04-25"},{"cvss_score":9.3,"headline":"Festo CECX-X-(C1/M1) Controller Improper Authentication","id":"CVE-2014-0769","kev_date_added":null,"published":"2014-04-25"},{"cvss_score":5,"headline":"Null dereference in n/a","id":"CVE-2015-6482","kev_date_added":null,"published":"2015-10-18"}],"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-05","vendors":["n/a"]},"summary":"A stack-based buffer overflow in the CODESYS Web Server allows attackers to execute arbitrary code or cause a denial of service via crafted requests.","url":"https://insights.sbomify.com/CVE-2018-5440/"}