CVE-2023-43645
Denial of service from circular relationship definitions in OpenFGA
En resumen
OpenFGA puede fallar cuando procesa verificaciones de autorización en modelos con definiciones de relación circular, dejando el servicio no disponible. Esto ocurre porque el sistema queda atrapado en un bucle infinito intentando evaluar permisos.
Detalle técnico
La vulnerabilidad existe en la operación Check de OpenFGA cuando los modelos de autorización contienen definiciones de relación circular (CWE-835 - Infinite Loop). Un atacante puede provocar agotamiento de recursos en el servidor ejecutando llamadas Check contra tales modelos, resultando en denegación de servicio. La mitigación requiere actualizar a v1.3.2, que ahora devuelve errores en lugar de evaluar relaciones cíclicas.
Resumen generado y traducido por IA a partir de la descripción oficial.
OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. OpenFGA is vulnerable to a denial of service attack when certain Check calls are executed against authorization models that contain circular relationship definitions. When the call is made, it's possible for the server to exhaust resources and die. Users are advised to upgrade to v1.3.2 and update any offending models. There are no known workarounds for this vulnerability. Note that for models which contained cycles or a relation definition that has the relation itself in its evaluation path, checks and queries that require evaluation will no longer be evaluated on v1.3.2+ and will return errors instead. Users who do not have cyclic models are unaffected.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Productos afectados
openfga · openfga¿Quieres saber si tu infraestructura está expuesta a esto?
Hablar con TrueHacking →