Information Disclosure Affecting github.com/wal-g/wal-g/internal Open this link in a new tab package, versions <1.1.0


0.0
medium
  • Attack Complexity

    Low

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-GITHUBCOMWALGWALGINTERNAL-1540864

  • published

    13 Aug 2021

  • disclosed

    13 Aug 2021

  • credit

    Unknown

How to fix?

Upgrade github.com/wal-g/wal-g/internal to version 1.1.0 or higher.

Overview

github.com/wal-g/wal-g/internal is a tool that provides archival restoration for PostgreSQL

Affected versions of this package are vulnerable to Information Disclosure. When a non-libsodium build (e.g., one of the official binary releases published as GitHub Releases) is used, silently ignores the libsodium encryption key and uploads cleartext backups. This is arguably a Principle of Least Surprise violation because "the user likely wanted to encrypt all file activity."