Information Exposure Affecting github.com/kopia/kopia/internal/scrubber package, versions <0.16.0
Snyk CVSS
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMKOPIAKOPIAINTERNALSCRUBBER-6596031
- published 11 Apr 2024
- disclosed 10 Apr 2024
- credit Unknown
How to fix?
Upgrade github.com/kopia/kopia/internal/scrubber
to version 0.16.0 or higher.
Overview
Affected versions of this package are vulnerable to Information Exposure. An attacker can access storage connection credentials that are written to the console by executing the kopia repo status --json
command in an insecure environment.
Workaround
This vulnerability can be mitigated by avoiding the execution of kopia repo status
with the --json
flag in insecure environments and by not logging the output of the kopia repo status --json
command.