llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/openfga/openfga

GHSA-M3Q4-7QMJ-657M

OpenFGA Authorization Bypass

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -1 d de la divulgación
Exposición1.430 dDesde la divulgación, 20 dic 2022, 2:33 p. m.
Detección1.427 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche v0.3.1
Monitoreo
Detectada
19 dic 22
20 dic 22
21 ago 24
17 nov 26
19 nov 26
19 dic 22
12 dic 23
4 dic 24
27 nov 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche v0.3.1 github.com/openfga/openfga · -1 d desde divulgación
Divulgación Publicada GHSA-M3Q4-7QMJ-657M divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Overview
During our internal security assessment, it was discovered that OpenFGA versions v0.3.0 is vulnerable to authorization bypass under certain conditions.

### Am I Affected?
You are affected by this vulnerability if all of the following applies:

  1. You are using OpenFGA v0.3.0
  2. You created a model using modeling language v1.1 that applies a type restriction to an object e.g. `define viewer: [user]`
  3. You created tuples based on the aforementioned model, e.g. `document:1#viewer@user:jon`
  4. You updated the previous model by adding a new type and replacing the previous restriction with the newly added type e.g. `define viewer: [employee]`
  5. You use the tuples created against the first model (step 3) and issue checks against the updated model e.g. `user=user:jon, relation=viewer, object:document:1`

### How to fix that?
Upgrade to version v0.3.1

### Backward Compatibility
This update is backward compatible.

Versiones

Rangos afectados

Afectada Corregida Última
github.com/openfga/openfga≥ 0.3.0 < 0.3.1
0.3.0
0.3.1
v1.22.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/openfga/openfga
Corregida v0.3.1 -1 d v1.22.1 no afectada
Versiones corregidas0.3.1v0.3.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-23542
Otrahttps://github.com/openfga/openfga/security/advisories/GHSA-m3q4-7qmj-657m
Otrahttps://github.com/openfga/openfga/pull/422
Otrahttps://github.com/openfga/openfga
Otrahttps://github.com/openfga/openfga/releases/tag/v0.3.1

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.