medium5.5
CVE-2023-31135
Dgraph Audit Log Encryption Vulnerability
Impact
### Impact Existing Dgraph audit logs are vulnerable to brute force attacks due to nonce collisions. All audit logs generated by versions of Dgraph <v23.0.0 are affected. ### Patches This issue was patched in https://github.com/dgraph-io/dgraph/pull/8323. Dgraph users should upgrade to v23.0.0. ### Workarounds Store existing audit logs in a secure location. For extra security, encrypt using a tool like `gpg`. ### References See https://github.com/dgraph-io/dgraph/pull/8323 for more context on the vulnerability.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/dgraph-io/dgraph | < 23.0.0 | 23.0.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dgraph | Dgraph | before 23.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://en.wikipedia.org/wiki/Cryptographic_nonce
- https://github.com/dgraph-io/dgraph/pull/8323
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47
- https://github.com/advisories/GHSA-92wq-q9pq-gw47
- https://github.com/dgraph-io/dgraph/releases/tag/v23.0.0
- https://nvd.nist.gov/vuln/detail/CVE-2023-31135