VDB
Sign up
MEDIUM

GHSA-h6c8-cww8-35hf

OpenFGA has an Authorization Bypass through cached keys

Quick fix

GHSA-h6c8-cww8-35hf — github.com/openfga/openfga: upgrade to the fixed version with the command below.

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

Details

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

### Am I Affected? Users are affected if the following preconditions are met: 1. The model has relations which rely on condition evaluation. 1. Caching is enabled.

### Fix Upgrade to OpenFGA v1.13.1.

### Acknowledgement OpenFGA would like to thank @Amemoyoi for the discovery and responsible disclosure.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/openfga/openfga
Introduced in: 0Fixed in: 1.13.1
Fixgo get github.com/openfga/openfga@v1.13.1

References