Information Disclosure Affecting github.com/wal-g/wal-g/internal package, versions <1.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th percentile)

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 IDSNYK-GOLANG-GITHUBCOMWALGWALGINTERNAL-1540864
  • published13 Aug 2021
  • disclosed13 Aug 2021
  • creditUnknown

Introduced: 13 Aug 2021

CVE-2021-38599  (opens in a new tab)
CWE-200  (opens in a new tab)

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."

CVSS Scores

version 3.1