VDB
Sign up
MEDIUM5.0

GHSA-57j5-qwp2-vqp6

OpenFGA has Improper Policy Enforcement

Quick fix

GHSA-57j5-qwp2-vqp6 — github.com/openfga/openfga: upgrade to the fixed version with the command below.

go get github.com/openfga/openfga@v1.14.1

Details

### Description In OpenFGA, in specific scenarios, models using conditions with caching enabled can result in two different check requests producing the same cache key. This could result in OpenFGA reusing an earlier cached result for a subsequent request.

### Am I Affected? Users are affected if their applications meet the following preconditions:

* The model has relations which rely on condition evaluation. * Caching is enabled.

### Fix Upgrade to OpenFGA v1.14.1.

### Acknowledgement OpenFGA would like to thank @bugbunny-research for the detailed report.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/openfga/openfga
Introduced in: 0Fixed in: 1.14.1
Fixgo get github.com/openfga/openfga@v1.14.1

References