{"id":"GHSA-92wq-q9pq-gw47","summary":"Dgraph Audit Log Encryption Vulnerability","details":"### Impact\nExisting Dgraph audit logs are vulnerable to brute force attacks due to nonce collisions.  All audit logs generated by versions of Dgraph \u003cv23.0.0 are affected.\n\n### Patches\nThis issue was patched in https://github.com/dgraph-io/dgraph/pull/8323.  Dgraph users should upgrade to v23.0.0.\n\n### Workarounds\nStore existing audit logs in a secure location.  For extra security, encrypt using a tool like `gpg`.\n\n### References\nSee https://github.com/dgraph-io/dgraph/pull/8323 for more context on the vulnerability.","aliases":["CVE-2023-31135"],"modified":"2023-11-08T04:12:29.634712Z","published":"2023-05-17T17:07:40Z","database_specific":{"cwe_ids":["CWE-326"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-05-17T17:07:40Z","nvd_published_at":"2023-05-17T18:15:09Z"},"references":[{"type":"WEB","url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31135"},{"type":"WEB","url":"https://github.com/dgraph-io/dgraph/pull/8323"},{"type":"WEB","url":"https://en.wikipedia.org/wiki/Cryptographic_nonce"},{"type":"PACKAGE","url":"https://github.com/dgraph-io/dgraph"},{"type":"WEB","url":"https://github.com/dgraph-io/dgraph/releases/tag/v23.0.0"}],"affected":[{"package":{"name":"github.com/dgraph-io/dgraph","ecosystem":"Go","purl":"pkg:golang/github.com/dgraph-io/dgraph"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"23.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-92wq-q9pq-gw47/GHSA-92wq-q9pq-gw47.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}