{"answers":{"affected":"8 open source packages ship an affected version, including github.com/mutagen-io/mutagen and github.com/mutagen-io/mutagen-compose. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-30844 in the wild and no public exploit code.","fix":"Upgrade github.com/mutagen-io/mutagen to a fixed version for your release line: 0.16.6 or 0.17.1.","what":"CVE-2023-30844 is a low-severity vulnerability in mutagen-io mutagen, published on 8 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-30844 and fix it if it is affected.\n\nWhat it is: CVE-2023-30844 is a low-severity vulnerability in mutagen-io mutagen, published on 8 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-30844 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/mutagen-io/mutagen (Go): affected all versions; fixed in 0.16.6, 0.17.1\n- github.com/mutagen-io/mutagen (Go): affected all versions; fixed in 0.16.6\n- github.com/mutagen-io/mutagen (Go): affected all versions; fixed in 0.16.6\n- github.com/mutagen-io/mutagen (Go): affected from 0.17.0; fixed in 0.17.1\n- github.com/mutagen-io/mutagen (Go): affected from 0.17.0; fixed in 0.17.1\n- github.com/mutagen-io/mutagen-compose (Go): affected all versions; fixed in 0.17.1\n- github.com/mutagen-io/mutagen-compose (Go): affected all versions; fixed in 0.17.1\n- github.com/mutagen-io/mutagen-compose (Go): affected all versions; fixed in 0.17.1\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-30844/ (Markdown: https://insights.sbomify.com/CVE-2023-30844/index.md)","id":"CVE-2023-30844","markdown":"https://insights.sbomify.com/CVE-2023-30844/index.md","name":"CVE-2023-30844","record":{"aliases":["GHSA-jmp2-wc4p-wfh2","GO-2023-1764"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"File synchronization tool","requires_auth":"low_privilege","summary":"Attackers can inject control characters via remote endpoints to corrupt terminals or potentially execute code in Mutagen synchronization tools.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mutagen","vendor":"mutagen"},{"product":"mutagen_compose","vendor":"mutagen"}],"cvss":{"score":3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Mutagen list and monitor operations do not neutralize control characters in text controlled by remote endpoints","id":"CVE-2023-30844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2023"},"n_packages":8,"n_references":3,"next":{"headline":"ESPv2 vulnerable to JWT authentication bypass via `X-HTTP-Method-Override` header","id":"CVE-2023-30845"},"packages":[{"ecosystem":"Go","fixed":["0.16.6","0.17.1"],"introduced":["0","0.17.0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen","purl":"pkg:golang/github.com/mutagen-io/mutagen","source":"GO-2023-1764"},{"ecosystem":"Go","fixed":["0.16.6"],"introduced":["0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen","purl":null,"source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.16.6"],"introduced":["0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen","purl":"pkg:golang/github.com/mutagen-io/mutagen","source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0.17.0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen","purl":null,"source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0.17.0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen","purl":"pkg:golang/github.com/mutagen-io/mutagen","source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen-compose","purl":null,"source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen-compose","purl":"pkg:golang/github.com/mutagen-io/mutagen-compose","source":"GHSA-jmp2-wc4p-wfh2"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/mutagen-io/mutagen-compose","purl":"pkg:golang/github.com/mutagen-io/mutagen-compose","source":"GO-2023-1764"}],"prev":{"headline":"Payload's hidden fields can be leaked on readable collections","id":"CVE-2023-30843"},"products":["mutagen"],"published":"2023-05-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-29","vendors":["mutagen-io"]},"summary":"Attackers can inject control characters via remote endpoints to corrupt terminals or potentially execute code in Mutagen synchronization tools.","url":"https://insights.sbomify.com/CVE-2023-30844/"}