CVE-2023-31135: Dgraph is an open source distributed GraphQL database
13
Routine
LOW 3.3UPGRADE
CVE-2023-31135 is a low-severity flaw (CVSS 3.3) affecting dgraph. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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. A
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.3 (Low) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 96%) |
| CISA exploited list | No |
| Weakness | CWE-326 |
| Published | 2023-05-17 |
| Last modified | 2026-10-23 |
Publisher (CNA): GitHub, Inc. · Vendor: dgraph
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
dgraph dgraph UPGRADE
Affected: < 23.0.0
Fixed in: 23.0.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy dgraph || rpm -q dgraph || dgraph --version
2. UPGRADE to 23.0.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade dgraph
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade dgraph
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.