Improper Authorization Affecting github.com/authzed/spicedb/internal/graph package, versions <1.33.1


Severity

Recommended
0.0
low
0
10

CVSS assessment made 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 IDSNYK-GOLANG-GITHUBCOMAUTHZEDSPICEDBINTERNALGRAPH-7300157
  • published21 Jun 2024
  • disclosed20 Jun 2024
  • creditUnknown

Introduced: 20 Jun 2024

CVE-2024-38361  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade github.com/authzed/spicedb/internal/graph to version 1.33.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization through the CheckPermission API. An attacker can cause the system to return NO_PERMISSION when PERMISSION is expected by exploiting the failure in the exclusion dispatcher to request that all the folders in which the user is a member be returned. This is only exploitable if the resource exists under multiple folders and the user has access to view more than a single folder.

References

CVSS Scores

version 4.0
version 3.1