GHSA-vrmr-f2qh-3hhf

Suggest an improvement
Source
https://github.com/advisories/GHSA-vrmr-f2qh-3hhf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-vrmr-f2qh-3hhf/GHSA-vrmr-f2qh-3hhf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vrmr-f2qh-3hhf
Aliases
Published
2021-09-02T17:17:16Z
Modified
2026-09-10T03:49:08Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Improper use of cryptographic key in wal-g
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-922"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-08-30T17:30:36Z",
    "nvd_published_at":  "2021-08-12T16:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/wal-g/wal-g

Package

Name
github.com/wal-g/wal-g
View open source insights on deps.dev
Purl
pkg:golang/github.com/wal-g/wal-g

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-vrmr-f2qh-3hhf/GHSA-vrmr-f2qh-3hhf.json"