Vulnerability · Published May 8, 2023 · Assigned by GitHub_M
CVE-2023-30844Mutagen list and monitor operations do not neutralize control characters in text controlled by remote endpoints
Low 3.0
In plain English
A low-severity security flaw in mutagen from mutagen-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mutagen-io/mutagen | 0.16.6 | GHSA-jmp2-wc4p-wfh2 |
| Go | github.com/mutagen-io/mutagen | 0.17.1 | GHSA-jmp2-wc4p-wfh2 |
| Go | github.com/mutagen-io/mutagen | 0.16.6, 0.17.1 | GO-2023-1764 |
| Go | github.com/mutagen-io/mutagen-compose | 0.17.1 | GHSA-jmp2-wc4p-wfh2 |
| Go | github.com/mutagen-io/mutagen-compose | 0.17.1 | GO-2023-1764 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mutagen-io | mutagen | github.com/mutagen-io/mutagen < 0.16.6github.com/mutagen-io/mutagen >= 0.17.0, < 0.17.1github.com/mutagen-io/mutagen-compose < 0.17.1 |
Weakness: CWE-150 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
References
- https://github.com/mutagen-io/mutagen/security/advisories/GHSA-jmp2-wc4p-wfh2 x_refsource_CONFIRM
- https://github.com/mutagen-io/mutagen/releases/tag/v0.16.6 x_refsource_MISC
- https://github.com/mutagen-io/mutagen/releases/tag/v0.17.1 x_refsource_MISC