{"answers":{"affected":"It affects 30 products.","exploited":"There is no known exploitation of CVE-2021-34595 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-34595 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-34595 is a high-severity memory corruption vulnerability in CODESYS V2, published on 26 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-34595 and fix it if it is affected.\n\nWhat it is: CVE-2021-34595 is a high-severity memory corruption vulnerability in CODESYS V2, published on 26 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-34595 in the wild and no public exploit code.\n\nAffected product: CODESYS V2. 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-2021-34595/ (Markdown: https://insights.sbomify.com/CVE-2021-34595/index.md)","id":"CVE-2021-34595","markdown":"https://insights.sbomify.com/CVE-2021-34595/index.md","name":"CVE-2021-34595","record":{"aliases":["GHSA-r36w-qc6c-g892"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CODESYS V2 Runtime","requires_auth":"low_privilege","summary":"A crafted request can cause out-of-bounds memory access in CODESYS V2 Runtime, leading to denial-of-service or local memory overwrite.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"codesys","vendor":"codesys"},{"product":"plcwinnt","vendor":"codesys"},{"product":"runtime_toolkit","vendor":"codesys"},{"product":"750-8202_firmware","vendor":"wago"},{"product":"750-8203_firmware","vendor":"wago"},{"product":"750-8204_firmware","vendor":"wago"},{"product":"750-8206_firmware","vendor":"wago"},{"product":"750-8207_firmware","vendor":"wago"},{"product":"750-8208_firmware","vendor":"wago"},{"product":"750-8210_firmware","vendor":"wago"},{"product":"750-8211_firmware","vendor":"wago"},{"product":"750-8212_firmware","vendor":"wago"},{"product":"750-8213_firmware","vendor":"wago"},{"product":"750-8214_firmware","vendor":"wago"},{"product":"750-8216_firmware","vendor":"wago"},{"product":"750-8217_firmware","vendor":"wago"},{"product":"750-823_firmware","vendor":"wago"},{"product":"750-829_firmware","vendor":"wago"},{"product":"750-831_firmware","vendor":"wago"},{"product":"750-832_firmware","vendor":"wago"},{"product":"750-852_firmware","vendor":"wago"},{"product":"750-862_firmware","vendor":"wago"},{"product":"750-880_firmware","vendor":"wago"},{"product":"750-881_firmware","vendor":"wago"},{"product":"750-882_firmware","vendor":"wago"},{"product":"750-885_firmware","vendor":"wago"},{"product":"750-889_firmware","vendor":"wago"},{"product":"750-890_firmware","vendor":"wago"},{"product":"750-891_firmware","vendor":"wago"},{"product":"750-893_firmware","vendor":"wago"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset"}],"description":"A crafted request with invalid offsets may cause an out-of-bounds read or write access in CODESYS V2 Runtime Toolkit 32 Bit full and PLCWinNT prior to versions V2.4.7.56, resulting in a denial-of-service condition or local memory overwrite.","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 V2 runtime: out-of-bounds read or write access may result in denial-of-service","id":"CVE-2021-34595","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"CODESYS V2 runtime: Access of Uninitialized Pointer may result in denial-of-service","id":"CVE-2021-34596"},"packages":[],"prev":{"headline":"Beckhoff: Relative path traversal vulnerability through TwinCAT OPC UA Server","id":"CVE-2021-34594"},"products":["CODESYS V2"],"published":"2021-10-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"}],"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-09-17","vendors":["CODESYS"]},"summary":"A crafted request can cause out-of-bounds memory access in CODESYS V2 Runtime, leading to denial-of-service or local memory overwrite.","url":"https://insights.sbomify.com/CVE-2021-34595/"}