Authorization Bypass Affecting github.com/openfga/openfga/internal/graph package, versions <1.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th 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 IDSNYK-GOLANG-GITHUBCOMOPENFGAOPENFGAINTERNALGRAPH-5862620
  • published27 Aug 2023
  • disclosed25 Aug 2023
  • creditaaguiarz

Introduced: 25 Aug 2023

CVE-2023-40579  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/openfga/openfga/internal/graph to version 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass when the ListObjects API is invoked. An attacker can bypass authorization by using specific models that contain expressions of type rel1 from type1.

CVSS Scores

version 3.1