{"id":"GHSA-vrmr-f2qh-3hhf","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.\"","aliases":["CVE-2021-38599"],"modified":"2026-09-10T03:49:08.820067617Z","published":"2021-09-02T17:17:16Z","database_specific":{"github_reviewed_at":"2021-08-30T17:30:36Z","nvd_published_at":"2021-08-12T16:15:00Z","cwe_ids":["CWE-922"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38599"},{"type":"WEB","url":"https://github.com/wal-g/wal-g/pull/1062"},{"type":"WEB","url":"https://github.com/wal-g/wal-g/commit/cadf598e1c2a345915a21a44518c5a4d5401e2e3"},{"type":"PACKAGE","url":"https://github.com/wal-g/wal-g"},{"type":"WEB","url":"https://github.com/wal-g/wal-g/releases/tag/v1.1"}],"affected":[{"package":{"name":"github.com/wal-g/wal-g","ecosystem":"Go","purl":"pkg:golang/github.com/wal-g/wal-g"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}