{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-40252 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40252 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40252 is a medium-severity code injection vulnerability in Genians Genian NAC Suite V5.0, published on 17 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40252 and fix it if it is affected.\n\nWhat it is: CVE-2023-40252 is a medium-severity code injection vulnerability in Genians Genian NAC Suite V5.0, published on 17 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-40252 in the wild and no public exploit code.\n\nAffected product: Genians Genian NAC Suite V5.0. 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-2023-40252/ (Markdown: https://insights.sbomify.com/CVE-2023-40252/index.md)","id":"CVE-2023-40252","markdown":"https://insights.sbomify.com/CVE-2023-40252/index.md","name":"CVE-2023-40252","record":{"aliases":["GHSA-fwcj-54q6-qwrm"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Genian NAC Suite","requires_auth":"high_privilege","summary":"Attackers can inject code to replace trusted executables in Genian NAC and ZTNA products, leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"krcert","cpe":[{"product":"genian_nac","vendor":"genians"},{"product":"genian_ztna","vendor":"genians"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Improper Control of Generation of Code ('Code Injection') vulnerability in Genians Genian NAC V4.0, Genians Genian NAC V5.0, Genians Genian NAC Suite V5.0, Genians Genian ZTNA allows Replace Trusted Executable.This issue affects Genian NAC V4.0: from V4.0.0 through V4.0.155; Genian NAC V5.0: from V5.0.0 through V5.0.42 (Revision 117460); Genian NAC Suite V5.0: from V5.0.0 through V5.0.54; Genian ZTNA: from V6.0.0 through V6.0.15.","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":"Code injection in Genian NAC Suite V5.0","id":"CVE-2023-40252","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in Genian NAC Suite V5.0","id":"CVE-2023-40253"},"packages":[],"prev":{"headline":"Weak cryptography in Genian NAC Suite V5.0","id":"CVE-2023-40251"},"products":["Genian NAC Suite V5.0","Genian NAC V4.0","Genian NAC V5.0","Genian ZTNA"],"published":"2023-08-17","related":[{"cvss_score":9.6,"headline":"Genian NAC remote code execution vulnerability","id":"CVE-2021-26622","kev_date_added":null,"published":"2022-03-25"},{"cvss_score":7.5,"headline":"Supply chain in Genian NAC Suite V5.0","id":"CVE-2023-40254","kev_date_added":null,"published":"2023-08-11"},{"cvss_score":6,"headline":"Auth bypass in Genian NAC Suite V5.0","id":"CVE-2023-40253","kev_date_added":null,"published":"2023-08-11"},{"cvss_score":5.2,"headline":"Weak cryptography in Genian NAC Suite V5.0","id":"CVE-2023-40251","kev_date_added":null,"published":"2023-08-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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-01","vendors":["Genians"]},"summary":"Attackers can inject code to replace trusted executables in Genian NAC and ZTNA products, leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2023-40252/"}