Advisory

GHSA-j5vm-7qcc-2wwg

Also known as: GO-2024-2703

Summary

Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-04-10 17:15 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/kopia/kopia

Go · All systems

Affected

  • introduced 0, fixed 0.16.0 (semver)

Fixed versions

0.16.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences