5.5
MEDIUM
CVE-2023-31135
Dgraph Parallel Nonce Collision Brute Force Vulnerability
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`.

INFO

Published Date :

May 17, 2023, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 8:01 a.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2023-31135 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-31135 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dgraph dgraph
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-31135.

URL Resource
https://en.wikipedia.org/wiki/Cryptographic_nonce Technical Description
https://github.com/dgraph-io/dgraph/pull/8323 Issue Tracking Patch
https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 Vendor Advisory
https://en.wikipedia.org/wiki/Cryptographic_nonce Technical Description
https://github.com/dgraph-io/dgraph/pull/8323 Issue Tracking Patch
https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 year, 9 months ago
2 stars 0 fork 0 watcher
Born at : May 6, 2022, 1:33 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-31135 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-31135 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://en.wikipedia.org/wiki/Cryptographic_nonce
    Added Reference https://github.com/dgraph-io/dgraph/pull/8323
    Added Reference https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 25, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://en.wikipedia.org/wiki/Cryptographic_nonce No Types Assigned https://en.wikipedia.org/wiki/Cryptographic_nonce Technical Description
    Changed Reference Type https://github.com/dgraph-io/dgraph/pull/8323 No Types Assigned https://github.com/dgraph-io/dgraph/pull/8323 Issue Tracking, Patch
    Changed Reference Type https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 No Types Assigned https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* versions up to (excluding) 23.0.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-31135 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-31135 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.01%

score

0.10641

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 08, 2025 19:47