Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-31135 — dgraph

🟢 CVSS 3.3 — Low ✅ No Known Exploit CWE-326 NVD
3.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2023-31135 is classified as CWE-326: Inadequate Encryption Strength. Encryption is applied, but with a key length or scheme too weak to resist a realistic attacker.

Affected software

CVE-2023-31135 is recorded against 2 packages.

  • dgraph (fixed in 23.0.0)
  • github.com/dgraph-io/dgraph

Timeline and source

Published on 17 May 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

en.wikipedia.org
github.com
github.com
en.wikipedia.org
github.com
github.com

Other advisories for this package

dgraph has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-326: Inadequate Encryption Strength) in other software:

Details

Severity LOW
CVSS Score 3.3
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE CWE-326
Public Exploit ✅ No
Source NVD
Published 2023-05-17
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
dgraph — 23.0.0
github.com/dgraph-io/dgraph — —

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2023-31135?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2023-31135 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023
✓