GitHub Advisoryadvisory · Go
GHSA-j5vm-7qcc-2wwg Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output
LOW
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/kopia/kopia
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2024-04-10
Affected packages
• Go github.com/kopia/kopia: < 0.16.0 → fixed in 0.16.0
Description
Impact
_What kind of vulnerability is it? Who is impacted?_
Storage credentials are written to the console.
Patches
_Has the problem been patched?_ Yes, see #3589
_What versions should users upgrade to?_
• Any version after or including commit 1d6f852cd6534f4bea978cbdc85c583803d79f77
• No release has been created yet.
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
• Be aware that `kopia repo status --json` will write the credentials to the output without scrubbing them.
• Avoid executing `kopia repo status` with the `--json` flag in an insecure environment where.
• Avoid logging the output of the `kopia repo status --json` command.
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness