{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-2273 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-2273 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-2273 is a medium-severity path traversal vulnerability in Rapid7 Insight Agent, published on 26 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-2273 and fix it if it is affected.\n\nWhat it is: CVE-2023-2273 is a medium-severity path traversal vulnerability in Rapid7 Insight Agent, published on 26 Apr 2023. 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-2023-2273 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-2023-2273/ (Markdown: https://insights.sbomify.com/CVE-2023-2273/index.md)","id":"CVE-2023-2273","markdown":"https://insights.sbomify.com/CVE-2023-2273/index.md","name":"CVE-2023-2273","record":{"aliases":["GHSA-4pp4-6fgx-j56f"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Rapid7 Insight Agent","requires_auth":"none","summary":"An attacker can write arbitrary files via unsanitized CLI input in Rapid7 Insight Agent, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rapid7","cpe":[{"product":"insight_agent","vendor":"rapid7"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Rapid7 Insight Agent token handler versions 3.2.6 and below, suffer from a Directory Traversal vulnerability whereby unsanitized input from a CLI argument flows into io.ioutil.WriteFile, where it is used as a path. This can result in a Path Traversal vulnerability and allow an attacker to write arbitrary files. This issue is remediated in version 3.3.0 via safe guards that reject inputs that attempt to do path traversal.","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 Directory Traversal","id":"CVE-2023-2273","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"This CVE assignment was considered invalid after investigation.","id":"CVE-2023-2274"},"packages":[],"prev":{"headline":"Tiempo.com \u003c= 0.1.2 - Reflected XSS","id":"CVE-2023-2272"},"products":["Insight Agent"],"published":"2023-04-26","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":4,"headline":"Rapid7 Insight Agent Privilege Escalation","id":"CVE-2022-0237","kev_date_added":null,"published":"2022-03-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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-31","vendors":["Rapid7"]},"summary":"An attacker can write arbitrary files via unsanitized CLI input in Rapid7 Insight Agent, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2023-2273/"}