{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-4261 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-4261 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4261 is a medium-severity vulnerability in Rapid7 InsightVM, published on 7 Dec 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4261 and fix it if it is affected.\n\nWhat it is: CVE-2022-4261 is a medium-severity vulnerability in Rapid7 InsightVM, published on 7 Dec 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-4261 in the wild and no public exploit code.\n\nAffected product: Rapid7 InsightVM. 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-4261/ (Markdown: https://insights.sbomify.com/CVE-2022-4261/index.md)","id":"CVE-2022-4261","markdown":"https://insights.sbomify.com/CVE-2022-4261/index.md","name":"CVE-2022-4261","record":{"aliases":["GHSA-hvmw-5h37-j7f5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Vulnerability Management","requires_auth":"low_privilege","summary":"Attackers can execute malicious code by providing unvalidated updates to Rapid7 Nexpose or InsightVM, requiring MITM or privileged access.","user_interaction":"required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"insightvm","vendor":"rapid7"},{"product":"nexpose","vendor":"rapid7"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-494","name":"Download of Code Without Integrity Check"}],"description":"Rapid7 Nexpose and InsightVM versions prior to 6.6.172 failed to reliably validate the authenticity of update contents. This failure could allow an attacker to provide a malicious update and alter the functionality of Rapid7 Nexpose. The attacker would need some pre-existing mechanism to provide a malicious update, either through a social engineering effort, privileged access to replace downloaded updates in transit, or by performing an Attacker-in-the-Middle attack on the update service itself.","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 Nexpose Update Validation Issue","id":"CVE-2022-4261","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"supply_chain","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Google Chromium V8 Type Confusion","id":"CVE-2022-4262"},"packages":[],"prev":{"headline":"WP-Ban \u003c 1.69.1 - Admin+ Stored XSS","id":"CVE-2022-4260"},"products":["InsightVM","Nexpose"],"published":"2022-12-07","related":[{"cvss_score":7.7,"headline":"Rapid7 Nexpose Virtual Appliance Duplicate SSH Host Key","id":"CVE-2017-5242","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":5.7,"headline":"Rapid7 InsightVM Insufficient Session Expiration","id":"CVE-2021-3844","kev_date_added":null,"published":"2023-03-24"},{"cvss_score":4.3,"headline":"Rapid7 InsightVM Protection Mechanism Failure","id":"CVE-2024-6504","kev_date_added":null,"published":"2024-07-18"},{"cvss_score":4.3,"headline":"Rapid7 Nexpose Uncontrolled URL Redirect","id":"CVE-2023-0681","kev_date_added":null,"published":"2023-03-20"},{"cvss_score":3.3,"headline":"Rapid7 InsightVM Sensitive Information Exposure via URL","id":"CVE-2024-2745","kev_date_added":null,"published":"2024-04-02"},{"cvss_score":3.3,"headline":"Rapid7 InsightVM Information Disclosure after Logout","id":"CVE-2019-5641","kev_date_added":null,"published":"2022-09-21"}],"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":"2025-04-14","vendors":["Rapid7"]},"summary":"Attackers can execute malicious code by providing unvalidated updates to Rapid7 Nexpose or InsightVM, requiring MITM or privileged access.","url":"https://insights.sbomify.com/CVE-2022-4261/"}