CVE-2023-31135
published 2023-05-17CVE-2023-31135: Dgraph is an open source distributed GraphQL database. Existing Dgraph audit logs are vulnerable to brute force attacks due to nonce collisions. The first 12…
PriorityP424medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.15%
4.9th percentile
Dgraph is an open source distributed GraphQL database. Existing Dgraph audit logs are vulnerable to brute force attacks due to nonce collisions. The first 12 bytes come from a baseIv which is initialized when an audit log is created. The last 4 bytes come from the length of the log line being encrypted. This is problematic because two log lines will often have the same length, so due to these collisions we are reusing the same nonce many times. All audit logs generated by versions of Dgraph <v23.0.0 are affected. Attackers must have access to the system the logs are stored on. Dgraph users should upgrade to v23.0.0. Users unable to upgrade should store existing audit logs in a secure location and for extra security, encrypt using an external tool like `gpg`.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dgraph-io | dgraph | < 23.0.0 | 23.0.0 |
| dgraph | dgraph | < 23.0.0 | 23.0.0 |
| github.com | dgraph-io_dgraph | >= 0 < 23.0.0 | 23.0.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Dgraph Audit Log Encryption Vulnerability
osv·2023-05-17
CVE-2023-31135 [MEDIUM] Dgraph Audit Log Encryption Vulnerability
Dgraph Audit Log Encryption Vulnerability
### 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.
GHSA
Dgraph Audit Log Encryption Vulnerability
ghsa·2023-05-17
CVE-2023-31135 [MEDIUM] CWE-326 Dgraph Audit Log Encryption Vulnerability
Dgraph Audit Log Encryption Vulnerability
### 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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://en.wikipedia.org/wiki/Cryptographic_noncehttps://github.com/dgraph-io/dgraph/pull/8323https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47https://en.wikipedia.org/wiki/Cryptographic_noncehttps://github.com/dgraph-io/dgraph/pull/8323https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47
2023-05-17
Published