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

    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 ID SNYK-GOLANG-GITHUBCOMAUTHZEDSPICEDBINTERNALGRAPH-7300157
  • published 21 Jun 2024
  • disclosed 20 Jun 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
2.3 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None