GitHub Advisoryadvisory · Go

GHSA-vrmr-f2qh-3hhf Improper use of cryptographic key in wal-g

HIGH Published 2021-09-02 Modified 2021-08-30 Official page ↗
Aliases
CVE-2021-38599
Ecosystem
Go
Packages
github.com/wal-g/wal-g
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-922
Reviewed
2021-08-30

Affected packages

• Go github.com/wal-g/wal-g: < 1.1 → fixed in 1.1

Description

WAL-G before 1.1, 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."

Related

Alias · CVE (1)

  • CVE-2021-38599 WAL-G before 1.1, when a non-libsodium build (e.g., one of the official binary releases published as GitHub Releases) is used, silently… vulnerability

Weakness · CWE (1)

  • CWE-922 Insecure Storage of Sensitive Information weakness

References