{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0237 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-0237 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-0237 is a medium-severity vulnerability in Rapid7 Insight Agent, published on 17 Mar 2022. 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-2022-0237 and fix it if it is affected.\n\nWhat it is: CVE-2022-0237 is a medium-severity vulnerability in Rapid7 Insight Agent, published on 17 Mar 2022. 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-2022-0237 in the wild and no public exploit code.\n\nAffected product: Rapid7 Insight Agent. 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-0237/ (Markdown: https://insights.sbomify.com/CVE-2022-0237/index.md)","id":"CVE-2022-0237","markdown":"https://insights.sbomify.com/CVE-2022-0237/index.md","name":"CVE-2022-0237","record":{"aliases":["GHSA-7c4x-gmcj-f3mw"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rapid7 Insight Agent","requires_auth":"none","summary":"An attacker can escalate privileges and gain persistent access by exploiting an unquoted argument in the runas.exe command within the Insight Agent.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"insight_agent","vendor":"rapid7"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-428","name":"Unquoted Search Path or Element"},{"id":"CWE-264","name":null}],"description":"Rapid7 Insight Agent versions 3.1.2.38 and earlier suffer from a privilege escalation vulnerability, whereby an attacker can hijack the flow of execution due to an unquoted argument to the runas.exe command used by the ir_agent.exe component, resulting in elevated rights and persistent access to the machine. This issue was fixed in Rapid7 Insight Agent version 3.1.3.80.","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":"Rapid7 Insight Agent Privilege Escalation","id":"CVE-2022-0237","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-Site Request Forgery (CSRF) in phoronix-test-suite/phoronix-test-suite","id":"CVE-2022-0238"},"packages":[],"prev":{"headline":"WP Import Export (Lite) \u003c= 3.9.15 Unauthenticated Sensitive Data Disclosure","id":"CVE-2022-0236"},"products":["Insight Agent"],"published":"2022-03-17","related":[{"cvss_score":8.5,"headline":"Local Privilege Escalation via OpenSSL configuration file in Insight Agent","id":"CVE-2026-6482","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":7.8,"headline":"Rapid7 Insight Agent Privilege Escalation","id":"CVE-2021-4007","kev_date_added":null,"published":"2021-12-14"},{"cvss_score":7.8,"headline":"Privilege escalation in Insight Agent","id":"CVE-2019-5629","kev_date_added":null,"published":"2019-07-13"},{"cvss_score":6.8,"headline":"Insight Agent Private Key Information Disclosure via Inherited File Permissions","id":"CVE-2026-4482","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":6.6,"headline":"Eval Injection in Rapid7 Insight Agent","id":"CVE-2026-4837","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":5.8,"headline":"Rapid7 Insight Agent Directory Traversal","id":"CVE-2023-2273","kev_date_added":null,"published":"2023-04-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-09-16","vendors":["Rapid7"]},"summary":"An attacker can escalate privileges and gain persistent access by exploiting an unquoted argument in the runas.exe command within the Insight Agent.","url":"https://insights.sbomify.com/CVE-2022-0237/"}