Improper Control of Dynamically-Managed Code Resources Affecting github.com/authzed/spicedb/internal/graph package, versions >=1.22.0 <1.22.1


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (34th 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-5740617
  • published 27 Jun 2023
  • disclosed 27 Jun 2023
  • credit Unknown

How to fix?

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

Overview

Affected versions of this package are vulnerable to Improper Control of Dynamically-Managed Code Resources when using LookupResources to find a list of banned resources instead, some users that shouldn't have access may.

Workaround

Users unable to upgrade should avoid using LookupResources for negative authorization decisions.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
3.7 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

5.3 medium