CVE-2021-38599
HIGH 7.5CVSS 3.1Improper use of cryptographic key in wal-g
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."
- Published
- 12 Aug 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-754CWE-922
- Also known as
- GHSA-vrmr-f2qh-3hhf
- Sources
- NVDJSONOSV GHSA-vrmr-f2qh-3hhfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wal-g_project | wal-gcpe:2.3:a:wal-g_project:wal-g:*:*:*:*:*:*:*:* |
< 1.1 | 1.1 |
| OSV | Go | github.com/wal-g/wal-g | < 1.1 | 1.1 |
References
- https://github.com/wal-g/wal-g/commit/cadf598e1c2a345915a21a44518c5a4d5401e2e3 · Patch, Third Party Advisory, WEB
- https://github.com/wal-g/wal-g/pull/1062 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38599 · ADVISORY
- https://github.com/wal-g/wal-g · PACKAGE
- https://github.com/wal-g/wal-g/releases/tag/v1.1 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Sep 2021)