GitHub Advisoryadvisory · Go
GHSA-92wq-q9pq-gw47 Dgraph Audit Log Encryption Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2023-31135
- Ecosystem
- Go
- Packages
- github.com/dgraph-io/dgraph
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-326
- Reviewed
- 2023-05-17
Affected packages
• Go github.com/dgraph-io/dgraph: < 23.0.0 → fixed in 23.0.0
Description
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.
Related
Alias · CVE (1)
- CVE-2023-31135 Dgraph is an open source distributed GraphQL database. vulnerability
Weakness · CWE (1)
- CWE-326 Inadequate Encryption Strength weakness
References
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-31135 advisory
- https://github.com/dgraph-io/dgraph/pull/8323 web
- https://en.wikipedia.org/wiki/Cryptographic_nonce web
- https://github.com/dgraph-io/dgraph package
- https://github.com/dgraph-io/dgraph/releases/tag/v23.0.0 web