Brute Force Affecting github.com/dgraph-io/dgraph package, versions <23.0.0-rc1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Brute Force vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDGRAPHIODGRAPH-5562075
  • published18 May 2023
  • disclosed17 May 2023
  • creditEldar Zeynalli

Introduced: 17 May 2023

CVE-2023-31135  (opens in a new tab)
CWE-307  (opens in a new tab)

How to fix?

Upgrade github.com/dgraph-io/dgraph to version 23.0.0-rc1 or higher.

Overview

github.com/dgraph-io/dgraph is a native GraphQL database with graph backend

Affected versions of this package are vulnerable to Brute Force via nonce collisions in retrieving audit logs. Audit logs are AES encrypted but the nonce in use is determined by log size and is therefore predictable.

Workaround

The effects of this vulnerability can be avoided by storing existing audit logs in a secure location or by applying a more secure method of encryption to the logs.

CVSS Base Scores

version 3.1