golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 60 forks source link

x/vulndb: potential Go vuln in github.com/authzed/spicedb: CVE-2023-35930 #1871

Closed GoVulnBot closed 1 year ago

GoVulnBot commented 1 year ago

CVE-2023-35930 references github.com/authzed/spicedb, which may be a Go module.

Description: 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:

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
    - module: github.com/authzed/spicedb
      packages:
        - package: spicedb
description: |-
    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.
cves:
    - CVE-2023-35930
references:
    - advisory: https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
    - fix: https://github.com/authzed/spicedb/pull/1397
gopherbot commented 1 year ago

Change https://go.dev/cl/507896 mentions this issue: data/excluded: batch add 10 excluded reports

gopherbot commented 1 year ago

Change https://go.dev/cl/507901 mentions this issue: data/excluded: batch add 8 excluded reports

gopherbot commented 1 year ago

Change https://go.dev/cl/507904 mentions this issue: data/excluded: batch add 8 excluded reports

gopherbot commented 4 months ago

Change https://go.dev/cl/592761 mentions this issue: data/reports: unexclude 75 reports

gopherbot commented 2 months ago

Change https://go.dev/cl/606787 mentions this issue: data/reports: unexclude 20 reports (7)