Skip to content

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

HighCVSS 8.8 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
mutagen < 0.16.6; = 0.17.0 0.16.6 Fixed
mutagen compose < 0.17.1 0.17.1 Fixed
mutagen-io github.com/mutagen-io/mutagen(Go) < 0.16.6; >= 0.17.0, < 0.17.1 0.16.6, 0.17.1 Fixed
mutagen-io github.com/mutagen-io/mutagen-compose(Go) < 0.17.1 0.17.1 Fixed
mutagen-io github.com/mutagen-io/mutagen = github.com/mutagen-io/mutagen-compose < 0.17.1; = github.com/mutagen-io/mutagen < 0.16.6; = github.com/mutagen-io/mutagen >= 0.17.0, < 0.17.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mutagen-io github.com/mutagen-io/mutagen(Go) < 0.16.6 0.16.6
mutagen-io github.com/mutagen-io/mutagen-compose(Go) < 0.17.1 0.17.1
mutagen-io github.com/mutagen-io/mutagen(Go) >= 0.17.0, < 0.17.1 0.17.1
mutagen-io github.com/mutagen-io/mutagen = github.com/mutagen-io/mutagen < 0.16.6 No fix listed
mutagen-io github.com/mutagen-io/mutagen = github.com/mutagen-io/mutagen >= 0.17.0, < 0.17.1 No fix listed
mutagen-io github.com/mutagen-io/mutagen = github.com/mutagen-io/mutagen-compose < 0.17.1 No fix listed
mutagen < 0.16.6 0.16.6
mutagen = 0.17.0 No fix listed
mutagen compose < 0.17.1 0.17.1

References