1. Archivio CVE
  2. 2023
  3. CVE-2023-35930

CVE-2023-35930

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
authzed spicedb 1.22.0 –
Tutte le 15 vulnerabilità di Authzed Spicedb

Tipo di vulnerabilità

CWE-913 Improper Control of Dynamically-Managed Code Resources

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati
Altro, Integrità Dipende dal contesto, Alterare la logica di esecuzione

Come si previene

Sviluppo · Validazione dell’input For any externally-influenced input, check the input against an allowlist of acceptable values.
Sviluppo · Architettura e progettazione · Refactoring Refactor the code so that it does not need to be dynamically managed.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 101 CVE di tipo CWE-913, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org