{"id":"GHSA-j5vm-7qcc-2wwg","aliases":["GO-2024-2703"],"status":"published","title":"Kopia: Storage connection credentials written to console on \"repository status\" CLI command with JSON output","description":"### Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nStorage credentials are written to the console.\n\n### Patches\n\n_Has the problem been patched?_ Yes, see #3589\n_What versions should users upgrade to?_\n- Any version after or including commit 1d6f852cd6534f4bea978cbdc85c583803d79f77\n- No release has been created yet.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n- Be aware that `kopia repo status --json` will write the credentials to the output without scrubbing them.\n- Avoid executing `kopia repo status` with the `--json` flag in an insecure environment where.\n- Avoid logging the output of the `kopia repo status --json` command.","severity":{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N","level":"low","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2024-04-10T17:15:26Z","modified":"2026-09-10T03:50:11Z","fixes":[{"ecosystem":"Go","package":"github.com/kopia/kopia","fixed_in":["0.16.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/kopia/kopia","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/kopia/kopia","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.16.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/kopia/kopia","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.16.0"}]}]}],"references":[{"url":"https://github.com/kopia/kopia/security/advisories/GHSA-j5vm-7qcc-2wwg","tags":["web","advisory"]},{"url":"https://github.com/kopia/kopia/pull/3589","tags":["web","fix"]},{"url":"https://github.com/kopia/kopia/commit/1d6f852cd6534f4bea978cbdc85c583803d79f77","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-j5vm-7qcc-2wwg"},{"url":"https://github.com/kopia/kopia","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-j5vm-7qcc-2wwg","title":"Kopia: Storage connection credentials written to console on \"repository status\" CLI command with JSON output","description":"### Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nStorage credentials are written to the console.\n\n### Patches\n\n_Has the problem been patched?_ Yes, see #3589\n_What versions should users upgrade to?_\n- Any version after or including commit 1d6f852cd6534f4bea978cbdc85c583803d79f77\n- No release has been created yet.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n- Be aware that `kopia repo status --json` will write the credentials to the output without scrubbing them.\n- Avoid executing `kopia repo status` with the `--json` flag in an insecure environment where.\n- Avoid logging the output of the `kopia repo status --json` command.","status":"published","published":"2024-04-10T17:15:26Z","modified":"2026-04-27T14:18:25Z","cvss":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:39:58.897998Z"}],"osv":[{"id":"GHSA-j5vm-7qcc-2wwg","title":"Kopia: Storage connection credentials written to console on \"repository status\" CLI command with JSON output","description":"### Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nStorage credentials are written to the console.\n\n### Patches\n\n_Has the problem been patched?_ Yes, see #3589\n_What versions should users upgrade to?_\n- Any version after or including commit 1d6f852cd6534f4bea978cbdc85c583803d79f77\n- No release has been created yet.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n- Be aware that `kopia repo status --json` will write the credentials to the output without scrubbing them.\n- Avoid executing `kopia repo status` with the `--json` flag in an insecure environment where.\n- Avoid logging the output of the `kopia repo status --json` command.","status":"published","published":"2024-04-10T17:15:26Z","modified":"2026-09-10T03:50:11.374239787Z","cvss":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:49.977351Z"},{"id":"GO-2024-2703","title":"Kopia: Storage connection credentials written to console on \"repository status\" CLI command with JSON output in github.com/kopia/kopia","description":"Kopia: Storage connection credentials written to console on \"repository status\" CLI command with JSON output in github.com/kopia/kopia","status":"published","published":"2024-06-04T15:19:21Z","modified":"2026-02-04T03:15:16.996018Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
