CVE-2023-31135
CVE-2023-31135 — Dgraph Audit Log Encryption nonce reuse
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`.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
3.3
LOW
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 3.3 | CVSS 3.1 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-326
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1110Brute Force
References
3 on the record
- github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47
x_refsource_CONFIRM
- github.com/dgraph-io/dgraph/pull/8323
x_refsource_MISC
- en.wikipedia.org/wiki/Cryptographic_nonce
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2017-1000486 Primetek Primefaces Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2017-11317 Telerik UI for ASP.NET AJAX Unrestricted File Upload VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-18325 DotNetNuke (DNN) Inadequate Encryption Strength VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2018-15811 DotNetNuke (DNN) Inadequate Encryption Strength VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-63286 Database backups are vulnerable to offline attacksCVSS 7.1
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.