Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/authzed/spicedb
  4. ›
  5. CVE-2023-35930

CVE-2023-35930: Improper Control of Dynamically-Managed Code Resources

June 28, 2023 (updated June 30, 2023)

SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. Any user making a negative authorization decision based on the results of a LookupResources request with 1.22.0 is affected. For example, using LookupResources to find a list of resources to allow access to be okay: some subjects that should have access to a resource may not. But if using LookupResources to find a list of banned resources instead, then some users that shouldn’t have access may. Generally, LookupResources is not and should not be to gate access in this way - that’s what the Check API is for. Additionally, version 1.22.0 has included a warning about this bug since its initial release. Users are advised to upgrade to version 1.22.2. Users unable to upgrade should avoid using LookupResources for negative authorization decisions.

References

  • github.com/advisories/GHSA-m54h-5x5f-5m6r
  • github.com/authzed/spicedb/pull/1397
  • github.com/authzed/spicedb/releases/tag/v1.22.2
  • github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
  • nvd.nist.gov/vuln/detail/CVE-2023-35930

Code Behaviors & Features

Detect and mitigate CVE-2023-35930 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.22.0

Fixed versions

  • v1.22.2

Solution

Upgrade to version 1.22.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-913: Improper Control of Dynamically-Managed Code Resources

Source file

go/github.com/authzed/spicedb/CVE-2023-35930.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.